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