Updated!! OK I added my work AAD login as a guest and gave it Global Admin rights and Owner rights to the subscription. Now I get the modal popup as shown but when I try to consent to Directory.AccessAsUser.All it seems to want my work administrator. Is there a way I can fix this so I can use my personal Microsoft Account as an administrator so that I can continue testing?
I am having issues consenting to permissions in Microsoft Graph Explorer. I am using my personal Visual Studio Professional Azure account that I upgraded to a P2 license. I am trying to set a Directory Schema Extension and having no luck getting consent to work for permissions Directory.AccessAsUser.All all that happens is that the modal permissions dialog closes quickly whenever I press the consent button. In the API documentation Create extensionProperty Permissions
it indicates
One of the following permissions is required to call this API.
Delegated (work or school account) Application.ReadWrite.All, Directory.AccessAsUser.All
Delegated (personal Microsoft account) Not supported.
Application Application.ReadWrite.OwnedBy, Application.ReadWrite.All
But my Visual Studio Professional account uses my personal Microsoft account and its the global admin of AAD and Azure resources. Could this be the cause of my problems? If so is there a workaround? I have ben able to consent to the Application.ReadWrite permission consistently and I have tried to set the permissions from