Forum Discussion
Export Entra ID Roles and all Permissions
I need to be able to extract All the Entra ID Roles (Template and Custom) and their associated Actions / Permissions to a excel spreadsheet.
So far, I have not found the correct combination of PowerShell or Graph version / Module to export this.
https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/permissions-reference has the default ones listed nicely, but I will need it in excel to match with other data I have.
Any suggestions on the correct combination or existing scripts to get me started?
2 Replies
Hi templintek
You can list them and download the assignments as a CSV. Check the below guideline:
https://learn.microsoft.com/en-us/entra/identity/role-based-access-control/view-assignments
- templintekCopper Contributor
georgelia Thanks for the input, however the download does not meet the requirements of getting the permissions assigned to the given role.