none
Insufficient privileges to complete the operation RRS feed

  • Question

  • Hi,

     I am using microsoft graph api to update user info. I can update all the details of users except password profile.

    While updating password profile I am getting below response:

    "error": {
            "code": "Authorization_RequestDenied",
            "message": "Insufficient privileges to complete the operation.",
            "innerError": {
                "request-id": "52bc04ba-8897-4a83-92a5-4151571e0935",
                "date": "2019-09-25T12:29:37"
            }
        }
    }

    for updating user I used the following API with  http patch method:

    https://graph.microsoft.com/v1.0/users/new@akcorp1.onmicrosoft.com

    I have also set Directory.AccessAsUser.All permission for my app in AAD.

    Can any one help to resolve the issue.

    Thanks in advance.

    Wednesday, September 25, 2019 12:40 PM