Thank you for posting your query on Microsoft Q&A, please find below answers in line:
- Given that any organisation AD or personnel Account "common" can be used for auth, how can I get the user's Organisation/Business identity ?
You may get the same from Azure AD sign in logs as the within the id token the tid claim value represents GUID that represents the Azure AD tenant that the user is from. For work and school accounts, the GUID is the immutable tenant ID of the organization that the user belongs to. For personal accounts, the value is 9188040d-6c67-4c5b-b112-36a304b66dad. The profile scope is required in order to receive this claim.
-
- I tested this with my test application with common endpoint:
Please do let me know if you have any further queries.
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.