Skip to content

Instantly share code, notes, and snippets.

$GlobalAdminRoleId = (Get-AzureADDirectoryRole | Where-Object {$_.RoleTemplateId -eq '62e90394-69f5-4237-9190-012177145e10'}).ObjectId
Get-AzureADDirectoryRoleMember -ObjectId $GlobalAdminRoleId | select DisplayName,Object

Keybase proof

I hereby claim:

  • I am archb1sh0p on github.
  • I am the_lorax (https://keybase.io/the_lorax) on keybase.
  • I have a public key ASDgC1uMfuggLz8iNmHl_JkT5dVMbaTfyYtt8W9DzD-omAo

To claim this, I am signing this object: