dougou8639 2015-09-03 11:25
浏览 45

通过azure graph api更新时完成操作的权限不足

I'm trying to update users profiles in azure via graph api. When it comes to "mobile" attribute I receive the exception: "Insufficient privileges to complete the operation". Many attributes like city, streetAddress or telephoneNumber are updated successfully with the same portion of PHP code. Is this a configuration/schema problem?

  • 写回答

1条回答 默认 最新

  • dongmi1941 2015-09-07 07:35
    关注

    In my test, I promoted the permissions of the app accessing to WAAD, as the figures show:

    enter image description here and enter image description here

    And I sign on the application with an account as an administrator of organization,shown in the USERS=>{user_name}=>PROFILE=>ROLE section.

    enter image description here

    Then I can update user profile with mobile phone with any format. If the mobile phone number should be with country code, the number format should better be like +1 1234567890.

    BTW, in my test, after configuring the permission of application, I waited for almost an hour since Azure AD seemed to cache the old permission.

    评论

报告相同问题?