Invalid grant error for free Office 365 Family & Personal/Free accounts

Calcul8or 6 Reputation points

Are free Office accounts supported by Azure AD?

I've tried authenticating with two different accounts, one that has a monthly Office 365 Family subscription, and another free account I created.

I also have set up Microsoft sample users, and these are all working fine. But whenever I try to log into Outlook or OneDrive from my integration with either of the two accounts I mentioned above, authentication fails.

I can't find anything in the documentation that explains which types of accounts are not supported.

The Auth Code received for the Family and Free accounts look like this: M.R3_BAY.c531716c-c315-0c1e-7113-8805ab255856, which is obviously wrong.

I also asked this question in StackOverflow with no luck. This is the link:

Any help will be greatly appreciated.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,522 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,391 questions
{count} votes

1 answer

Sort by: Most helpful
  1. 2020-12-18T22:51:31.137+00:00

    Hello, Azure AD users do not support free Office. Only personal (Microsoft, i.e. ones with and domain) accounts do.

    Please let me know if you need more help. If the answer was helpful to you, please accept it and, optionally, provide feedback so that other members in the community can benefit from it.