You need the SCC PowerShell cmdlets: https://learn.microsoft.com/en-us/powershell/exchange/connect-to-scc-powershell?view=exchange-ps
Once connected, you can use Get-RoleGroup/Get-RoleGroupMember to create the report.
Security and Complinace portal - Export Roles and Members

H Raja
191
Reputation points
Hi, I'm after some adivce, in Security and Complinace portal, protection.office.com <Permissons>. I am trying to export the roles\members. Someone told me, it has to be done via Powershelll or is there any easier way? If PS, does anyone have a working example?
Accepted answer
-
Vasil Michev 71,626 Reputation points MVP
2021-02-24T20:30:00.377+00:00