question

Calcul8or-4819 avatar image
1 Vote"
Calcul8or-4819 asked saldana-msft edited

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

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: https://stackoverflow.com/questions/65056867/invalid-grant-error-for-free-office-accounts

Any help will be greatly appreciated.

microsoft-graph-mailmicrosoft-graph-identityazure-ad-graph
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Adding right tags/team to assist

1 Vote 1 ·

1 Answer

alfredorevilla-msft avatar image
1 Vote"
alfredorevilla-msft answered Calcul8or-4819 commented

Hello, Azure AD users do not support free Office. Only personal (Microsoft, i.e. ones with outlook.com and hotmail.com 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.

· 11
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

anonymous user-msft thanks for your reply. I can log into outlook.live.com using both the free account as well as the one that I have an Office365 subscription with. But, neither of these accounts work with my registered app.

Is there a resource anywhere on the internet that clearly explains the difference between the various types of accounts that exist, and which ones work with a Graph API integration and which ones don't? I've been scouring every resource I can think of for weeks now with no luck whatsoever.

1 Vote 1 ·

Yes you can but personal accounts will get redirected to outook.com while work accounts to outlook.office.com. For more information of account types take a look here. Regarding MS Graph both work with the majority of operations. You will have to review permissions for each one to see which are supported. EG: Create users are supported for work accounts but not for personal accounts.


1 Vote 1 ·

Thanks again anonymous user-msft. I'm still a bit baffled, so I really appreciate your patience.

Is outlook.live.com the same as outlook.com? If it is, then as you said in your first comment, they should both work with my app, shouldn't they?

1 Vote 1 ·
Show more comments