Export Entra ID Roles and all Permissions

Copper Contributor

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.


Microsoft Entra built-in roles - Microsoft Entra ID | Microsoft Learn 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:



@georgelia Thanks for the input, however the download does not meet the requirements of getting the permissions assigned to the given role.