According to documentation, Microsoft Graph supports tokens from Azure AD v2.0 and Azure AD only:
The Microsoft Graph supports two authentication providers:
- To authenticate users with personal Microsoft accounts, such as live.com or outlook.com accounts, use the Azure Active Directory (Azure AD) v2.0 endpoint.
- To authenticate users with enterprise (that is, work or school) accounts, use Azure AD.
But, Azure AD v2.0 is new endpoint that supports both Microsoft account types: personal (former Live account) and work/school (classic Azure AD accounts). And it's unclear, how to limit authorization to personal accounts only.
Azure AD support only work/school account.
So, If I want to allow my app use only personal accounts, how to do it? How to authenticate in Microsoft Graph with Microsoft personal accounts only ( forbid for user to use work/school accounts) ?
P.S.: I use MSAL for authentication in my app, if it matters.