Get-AzureADPolicyAppliedObject
This article provides migration details from Get-AzureADPolicyAppliedObject command to Microsoft Graph PowerShell.
Summary
- Azure AD Command: Get-AzureADPolicyAppliedObject
- Azure AD Module: AzureADPreview
- Microsoft Graph Command: Get-MgBetaPolicyHomeRealmDiscoveryPolicyApplyTo (Community Examples)
- Graph Module: Microsoft.Graph.Beta.Identity.SignIns
- Graph Endpoint: GET /servicePrincipals/{id}/homeRealmDiscoveryPolicies
Permissions
Permission type | Permissions (from least to most privileged) |
---|---|
Delegated (work or school account) | Policy.Read.All and Application.ReadWrite.All, Policy.ReadWrite.ApplicationConfiguration and Application.ReadWrite.All |
Delegated (personal Microsoft account) | Not supported. |
Application | Policy.Read.All and Application.ReadWrite.OwnedBy, Policy.Read.All and Application.ReadWrite.All, Policy.ReadWrite.ApplicationConfiguration and Application.ReadWrite.OwnedBy, Policy.ReadWrite.ApplicationConfiguration and Application.ReadWrite.All |
View more details on permissions.
Property Mapping
Azure AD Name | Microsoft Graph Name |
---|---|
Id | HomeRealmDiscoveryPolicyId |