Hello guys,
My Power Apps solution uses the Office365Users -connector to fetch data from the current user (Get my profile (V2)) of the app and saves that data into a variable so it can be used all over the app. Recently we discovered a business need that external users in a tenant should be able to use our Power App.
For some reason this V2 function does not return any data for the guest users even though the guest users are properly licensed. Using the deprecated old function to get the profile details returns everything nicely for some reason. Below I have posted a screenshot using the GUEST user's account to return various values using the original and V2 connectors. As you can see the V2 connector does not return any values for the guest user.
We know that moving to use the original deprecated connector would be a preliminary solution but it wouldn't be a long-term solution as Microsoft will probably discontinue it in the near future. Is this the case?
What could we do to return the email and name of the guest users? Using the User()-function is not a solution because that doesn't support the cases where the UPN and the email are different in a tenant.
Thank you in advance,
Ville
Solved! Go to Solution.
Hi @VilPel
I don't think Microsoft depreciates the Office365Users.MyProfile() since both uses the different object. MyProfileV2() uses Graph API user object.
1) Office365Users.MyProfile() User Object
2) Office365Users.MyProfileV2() User object which uses Graph API
Thanks,
Stalin - Learn To Illuminate
Hi @VilPel
I don't think Microsoft depreciates the Office365Users.MyProfile() since both uses the different object. MyProfileV2() uses Graph API user object.
1) Office365Users.MyProfile() User Object
2) Office365Users.MyProfileV2() User object which uses Graph API
Thanks,
Stalin - Learn To Illuminate
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
215 | |
180 | |
138 | |
96 | |
82 |