Forum Discussion

caidsoffice365's avatar
caidsoffice365
Copper Contributor
Nov 22, 2021

List Office 365 Admin Roles

Hi Team,

Currently we are using following Powershell Cmdlet to list all the admin roles and we are moving to Microsoft Graph API. Could you please help me with the equivalent Microsoft Graph API for the same.

 

"get-rolegroup | where-object {$_.capabilities -notcontains \"partner_managed\"} | select identity, description | fl"

 

Thank you in advance.

 

Resources