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

Anns 61 Reputation points

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