I am looking to find some information of the logged in user, like the login id/email id and some other stuff using XRM tools in JavaScript.
I have tried the Xrm.Utility.getGlobalContext(), but the information provided in this object isn't sufficient for what I want to achieve.
To give some context, I m trying to fetch some information from my Azure AD using the currently logged in user's context.
Can someone please advice a way out?