brand new to graph, and this video is where i started. i tried editing the department, and i got the following error. "code": "Authorization_RequestDenied", "message": "Insufficient privileges to complete the operation.", this was performed with the global admin for my account, and i confirmed i can edit this property in the azure identity portal i can pull these attributes just fine. do i have an application permission limitation in this explorer?
looks like i needed to add permissions in the permissions tab. i made it work. is there a way to grant these permissions temporarily? if i close the session, will the api permissions persist? should i manually revoke the permissions i just granted at the end of this exercise to reduce the attack surface until i get back into graph?
Learning how to interact with any API is a good thing. Microsoft's Graph API is the gateway to managing all of its services directly. You can write your own code to perform actions or get information. I've used it when there wasn't a clear PowerShell cmdlet or it had limitations that querying the API directly was better.