I also gave it Application.ReadWrite.All, but still getting the error.
The Application.ReadWrite.All
Application permission is enough. I suppose you gave the Application.ReadWrite.All
permission in Microsoft Graph
, it will not work. You need to use the Application.ReadWrite.All
in Azure AD Graph
, then it will work.
After giving the permission, wait for a while, run the command, it returns a warning, refresh the portal, you will find the API permission was added.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…