C# Graph API enable/disable user accounts

  • Thread starter Thread starter Bigbacon
  • Start date Start date
B

Bigbacon

Guest
We are trying to create a console app that can enable/disable user accounts using the graph API utilizing a key/secret for the credentials.

We can read data but we are unable to make changes. First, is this possible to do using the API? If so, how/where do you go to give the API key the permissions needed to do so?

Trying to change the enableAccount property.

Would using powershell commands be a better option with some kind of service account that has access to do so?

Continue reading...
 
Back
Top