Role Definition - Powershell

Iron Contributor

Does Get-AzRoleDefinition pull or show all the builtin roles mentioned on the portal, for example when I run it, I do not get Guest Inviter role definition.

1 Reply

If you want to work with Azure AD/Office 365 roles, best use the Azure AD/MSOnline modules. In particular, for the AzureAD module you can use Get-AzureADDirectoryRole and Get-AzureADDirectoryRoleTemplate.