本文提供從 Get-AzureADContactMembership 命令移轉至 Microsoft Graph PowerShell 的詳細數據。
摘要
- Azure AD 命令: Get-AzureADContactMembership
- Azure AD 模組:AzureAD
- Microsoft Graph 命令: Get-MgContactMemberOf (社群範例)
- Graph 模組:Microsoft.Graph.Identity.DirectoryManagement
- Graph 端點:GET /contacts/{orgContact-id}/memberOf |/contacts/{orgContact-id}/memberOf/{directoryObject-id}
權限
權限類型 |
許可權 (從最小到最大權限者) |
已委派 (工作或學校帳戶) |
OrgContact.Read.All 和 Group.Read.All、Directory.Read.All |
已委派(個人 Microsoft 帳戶) |
不支援。 |
應用程式 |
OrgContact.Read.All 和 Group.Read.All、Directory.Read.All |
屬性對應
Azure AD 名稱 |
Microsoft Graph 名稱 |
ObjectId |
OrgContactId |
全部 |
全部 |
頂端 |
頂端 |