Forum Discussion
PhilRiceUoS
May 18, 2020Brass Contributor
Custom Role definition not showing in Azure Portal
Ive just created a custom role via powershell and confirmed that it worked in PS and can get the ID with with Get-AzRoleDefinition | ? {$_.IsCustom -eq $true} | FT Name, IsCustom but it simply do...
Manfred101
May 18, 2020Iron Contributor
PhilRiceUoS I think you have used the New-AzRoleAssignment cmdlet. This is creating a custom role for Azure resources. I think you need to use New-AzureADMSRoleDefinition cmdlet to create a Azure AD role and that shows up in the "Roles and administrators" blade. Not 100% sure, but you can check it out!
- PhilRiceUoSMay 19, 2020Brass Contributor
Thanks I will give that a try tomorrow and update with my results.