Microsoft Graph SDK for PowerShell – Get Api Permissions and App Roles of Service Principals

  Kiến thức lập trình

I’m trying to retrieve the API Permissions assigned to a Service Principle using Microsoft Graph SDK for PowerShell. I tried using the below command

Get-MgServicePrincipalOAuth2PermissionGrant -ServicePrincipalId <Id>

However, it doesn’t provide all the API Permissions. Could someone help on this?

Thanks,
Praveen

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website Kho Theme wordpress Kho Theme WP Theme WP

LEAVE A COMMENT