Is there any way to tell whether a invited guest user is using either of the below to authenticate.
- Microsoft Account (Personal Account)
or
- Organisational Account (Work or School Account)
Is there any way to tell whether a invited guest user is using either of the below to authenticate.
or
You can retrieve this information using Powershell, AzureRm module and some hidden api that i couldn't find documentation anywhere :
Work and School account is considered corporate account stored somewhere in your on-premises or or Microsoft cloud identity service (Azure Active Directory). While Microsoft account (aka MSA in the context) is previously called Windows Live ID. Now Microsoft combines several things into a centralized system including Outlook.com, XboxLive, Skype, Hotmail or so on.
But note that Microsoft Account is not only Live.com. It can be even created under a Work Account (see the image below, I masked the alias but they are the same). In this real case, the Work Account is managed by Office 365 while Personal account is created under the user principal name.
See image
The difference is if you chose Personal account (whether it is Live or even the same user principal name with your corporate account), you are redirected to http://login.live.com/, while the login URL of Work account is
From Azure AD portal, you can only see which one is Guest or Member, but Guest does not mean whether it is Microsoft account or Work.
The users identity in your Azure AD stores the source.
From Azure AD in Azure Portal, click Users and groups > All users > . Click one user, then click Profile. Under Identity information, you then have the source of the indentity.
Actually, If you invited a guest user to your directory, you have been using Azure AD B2B collaboration.
It's simple to know whther the account is using which endpoint to authenticate:
If a guest user is a personal account, it means that the account has not been created in another Azure Active Directory and its email account doesn't end with
.onmicosoft.com
. It should be authenticated withLive.com
, also called Microsoft Account (Personal Account).If a guest user is already existing in another tenant , it also means that its accout email ends with
.onmicrosoft.com
, it is authenitcated with.microsoftonline.com
, also called Organisational Account (Work or School Account).