Why OAuth Workflow fails with 400 status code for an Owner account?

Anns 61 Reputation points
2023-03-13T15:34:00.2566667+00:00

I have set up Oauth Flow in my application. I have 2 types of accounts for my Azure AD. One is an Owner account and the other is a Global Administrator(Sub user of the owner) account. My implementation works for the global administrator perfectly fine but fails with the Admin account. Why?

I flawlessly call APIs with the access token generated for the global administrator and everything works fine.
Is there any restriction or I am doing something wrong?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,075 questions
{count} votes