Forum Discussion
Sai Gutta
Dec 23, 2019Iron Contributor
Role Definition - Powershell
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.
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.