Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save moiaune/6c05257cda0f8ec0aa080ad2e4341d3f to your computer and use it in GitHub Desktop.
Save moiaune/6c05257cda0f8ec0aa080ad2e4341d3f to your computer and use it in GitHub Desktop.
PS> Select-MgProfile -Name beta
PS> Get-MgPolicyAuthorizationPolicy | gm | Where-Object { $_.Name -eq "PermissionGrantPolicyIdsAssignedToDefaultUserRole" }
TypeName: Microsoft.Graph.PowerShell.Models.MicrosoftGraphAuthorizationPolicy1
Name MemberType Definition
---- ---------- ----------
PermissionGrantPolicyIdsAssignedToDefaultUserRole Property string[] PermissionGrantPol…
PS> Select-MgProfile -Name v1.0
PS> Get-MgPolicyAuthorizationPolicy | gm | Where-Object { $_.Name -eq "PermissionGrantPolicyIdsAssignedToDefaultUserRole" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment