简体   繁体   English

通过天青图API更新时权限不足,无法完成操作

[英]Insufficient privileges to complete the operation while update via azure graph api

I'm trying to update users profiles in azure via graph api. 我正在尝试通过图形API更新Azure中的用户个人资料。 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. 许多属性(例如city,streetAddress或TelephoneNumber)已使用相同的PHP代码部分成功更新。 Is this a configuration/schema problem? 这是配置/架构问题吗?

In my test, I promoted the permissions of the app accessing to WAAD, as the figures show: 在测试中,我提升了应用程序访问WAAD的权限,如下图所示:

在此处输入图片说明 and 在此处输入图片说明

And I sign on the application with an account as an administrator of organization,shown in the USERS => {user_name} => PROFILE => ROLE section. 和我与帐户作为组织的管理员应用程序签名,在USERS所示=> {USER_NAME} => PROFILE => ROLE部。

在此处输入图片说明

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 . 如果手机号码应使用国家/地区代码,则电话号码格式最好为+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. 顺便说一句,在我的测试中,配置了应用程序的权限后,由于Azure AD似乎缓存了旧权限,所以我等待了将近一个小时。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 尝试连接到Microsoft Graph时“权限不足,无法完成操作” - “Insufficient privileges to complete the operation” when trying to connect to Microsoft Graph 通过Php脚本查询Oracle数据库:特权不足 - Querying an Oracle Database via Php Script: Insufficient Privileges Feed中的共享配置文件链接在JSON图形API中的数据不足 - Shared profile link in feed has insufficient data in JSON graph API Facebook PHP Graph API未返回完整数据 - Facebook PHP Graph API not returning complete data Microsoft Graph API-用户响应JSON不完整 - Microsoft Graph API - User response JSON not complete 403:在Google Drive API php中创建文件夹时权限不足 - 403 : Insufficient Permission while creating an folder in google drive api php 无法通过图形API发布 - unable to post via graph api 通过Facebook Graph API / PHP SDK发布帖子时,使用Facebook的“ @”标记用户 - Using Facebook's '@' to tag an User while publishing a post via Facebook Graph API / PHP SDK 当前用户权限不足,无法执行请求的操作 - Google Play Developer API - The current user has insufficient permissions to perform the requested operation - Google Play Developer API Gmail API:权限不足 - Gmail API: Insufficient Permission
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM