Hi,
I am using PowerApps Azure AD login page to authenticate using AAD user Id.
But at the powerapps portal pages i am unabe to get the User email or User GUID (AZure AD Object Id) to send it as parameter in my javascript API call. I also noticed when looked the browser developer toolbar that a script related to dynamics 365 is loaded in which it gets userName (which is AD GUID object) and the contactid (note this is within the script and i can see only values not the script).
tried using Xrm.Utility.getGlobalContect() but gets error Xrm is undefined.
cannot use function User().Email because this a powerapps portal page not the canva =s formula
CDS user function can get only full name but not the email.
Appreciate your advise in getting the User email or User GUID.
Thanks.