User id format of Microsoft account and M365 account

how123480 1 Reputation point
2022-07-11T07:33:49.137+00:00

I found that the user id under the M365 account (ex: xxx@X .onmicrosoft.com) is in GUID format, and the Microsoft account (ex: xxx@harsh.com .com) 's user id is a string with a length of 16. It is possible to use the user id format to identidy whether the user belongs to M365 or not.? Thanks

Microsoft Security | Microsoft Graph
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.