[英]Insufficient privileges to complete the operation (Azure AD Issue)
我嘗試代表用戶從 azure ad 中獲取所有用戶,我有我的自定義角色,我的問題是將其添加到自定義角色以從 azure ad 中獲取所有用戶所需的權限是什么?!
$role1 = Get-AzureADDirectoryRole -ObjectId ID
Add-AzureADDirectoryRoleMember -ObjectId $role1.ObjectId -RefObjectId object_id_of_user
Get-AzureADDirectoryRoleMember -ObjectId $role1.ObjectId | Get-AzureADUser
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.