I have Guest accounts and don't appear to be found using Office365Users.SearchUser or Office365Users.SearchUserV2 or using
Solved! Go to Solution.
I got it to work. Yay.
The function is supposed to lookup the UPN which for a guest looks different than regular users. I switched from storing the UPN to storing the Mail address. Now Search finds the guest. I guess the lookup is really looking at the email address or the WindowsEmailAddress and not the UPN.
Guest users by definition don't have user profiles and that is what Office365Users connector is checking. To find guest users you would need to use the AzureAD connector and that requires admin priveledges.
If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!
Check my LinkedIn!
Check my User Group (pt-PT)!
Last Post on Community
The suggestion didn't work. Still not found. I understand that there is no profile to speak of. But also 'there must be a profile'! How do I lookup a guest if there isn't one.
I'll switch to using a People Picker field to see if that fixes it. Just another bug in PowerApps that really shouldn't be there.
If anyone else has a way to lookup guest account details it would be nice. Right now it's just another PowerApps fail.
As I said in my reply. Guest users don't have profiles. You need to look guest users up in Azure AD, not in SharePoint profiles. And just because it doesn't work the way you want it to doesn't mean its a bug. Guest users have never had profiles in SharePoint.
Bug / Shortcomming / Pain In the Rear call it what you want.
I added a people field and the guest users do not show up.
So are guest users supported at all in PowerApps?
I have been told repeatedly yes but then again it DOESN"T WORK!!!!
So really a BUG or a flat out LIE.
Actually, Its neither a Bug or a Lie. Support for Guest users is to be able to RUN Power Apps, not a guarantee that they will be reflected in every data source. SharePoint profiles have never included guest users.
You are trying to use the Office365users connection, which uses User profiles as a data source.
For guest users the only place you will find a record of them is Azure Active Directory. But as I mentioned the problem with that as a data source is that you need to be an admin to access it.
It just seems odd that I can't setup a drop down and have a guest account show up in it and put it into a list and so on.
Why isn't this simple idea possible?
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.