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
{{ message }}
Repository navigation
'Missing property: clientId' in the ManagePermissionGrant.ps1 PS script #711
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.
This will happen if you're using an out of date Microsoft Graph Powershell module. There is a serialization issue with older builds. Update your Graph SDK powershell modules and that'll fix it.
Activity
Jorenvd commentedon Aug 27, 2025
I have the same issue, any solutions yet?
pnunnlynden commentedon Feb 6, 2026
This will happen if you're using an out of date Microsoft Graph Powershell module. There is a serialization issue with older builds. Update your Graph SDK powershell modules and that'll fix it.