You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run the script, you can see it outputs the $grantParams object and the clientId is in there.
Any idea why it would then throw a 'Missing property: clientId' error on the New-MgOauth2PermissionGrant command?
I have global admin rights on this tenant.