An API that connects multiple Microsoft services, enabling data access and automation across platforms
I have found this cmdlet that shows permissions needed:
Find-MgGraphCommand -Command Update-MgUser | Select -First 1 -ExpandProperty Permissions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I'm starting to migrate my PowerShell scripts to use the new Microsoft Graph module.
I'm facing problems when it comes to update some user information (I was able to create a user but can't update it?).
Here are the screenshots:
API Permissions
Context
User created
Can't update user password
Is there some docs explaining which permissions are needed for every cmdlet??
UPDATE:
I have managed by removing all those API permissions and just adding the app as Global Administrator on Azure Active Directory roles assignments.
So, what's the point on having to set permissions that allows to create but not update a user property?
I know that this is not the best way, but it is what is allowing me to continue to work.
An API that connects multiple Microsoft services, enabling data access and automation across platforms
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
1 deleted commentComments have been turned off. Learn more
I have found this cmdlet that shows permissions needed:
Find-MgGraphCommand -Command Update-MgUser | Select -First 1 -ExpandProperty Permissions