PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,916 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I ran the following az account command, it can return the right result
az account get-access-token --scope https://canary.graph.microsoft.com/User.ReadWrite.All --tenant 633fc03f-56d0-459c-a1b5-ab5083fc35d4
but if I ran the following command, it returned an error
az account get-access-token --scope https://canary.graph.microsoft.com/CloudPC.Read.All --tenant 633fc03f-56d0-459c-a1b5-ab5083fc35d4
error looks like:
(pii). Status: Response_Status.Status_InteractionRequired, Error code: 3399614476, Tag: 557973645
Please explicitly log in with:
az login --scope https://canary.graph.microsoft.com/CloudPC.Read.All
How to solve this issue?