Global admin AlternateEmailAddress for DAP

Copper Contributor

Hello all


I'm unsure how to go about this and hope someone can offer me a suggestion.


I'd like to report on the AlternateEmailAddress for all the global admins at each tenancy for which my company has DAP (Delegated Access Permissions). I know get-msoluser is probably the cmdlet but not sure how to get the list of global admins from all of our delegated tenancies.


Hope someone can help.





1 Reply

You can use the Get-MsolRoleMember cmdlets with the -TenantId switch:


 Get-MsolRoleMember -RoleObjectId 62e90394-69f5-4237-9190-012177145e10 -TenantId xyz