web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps Canvas App -...
Power Apps
Suggested Answer

PowerApps Canvas App - Get External User (B2B)

(0) ShareShare
ReportReport
Posted on by 988
I had created an app that is using the O365 Users (Email) matches the email in an SharePoint Employee List.   We have recently set up another tenant that we will be moving to and some of the users are in that tenant with a different email address, but they are listed in the SharePoint Employee list.  I need to be able to capture who the person is because they are filling out a survey and I am sending reminders to the ones that have not completed.  On my app start I have variable for:
 
Set(varUser, Office365Users.UserProfileV2(User().Email).mail);
 
which I am using throughout the app to verify if the varUser has an entry in the Survey list on Sharepoint.
 
My thought was my first screen would be for the user to pick their name from the dropdown (Employee List) and set that as the varUser.
 
Is that possible?
I have the same question (0)
  • Suggested answer
    MS.Ragavendar Profile Picture
    5,717 Super User 2025 Season 2 on at
     
    You are using the Office365Users connector this will only looks up profiles in the current environment (tenant).
     
    If the same person exists in another tenant (with a different email), Office365Users.UserProfileV2(User().Email) won’t find the cross‑tenant account, and your varUser logic won’t match.
  • Suggested answer
    WarrenBelz Profile Picture
    153,698 Most Valuable Professional on at
    Adding to @MS.Ragavendar's post, if you simply want their name and/or email address, use this
    Set(
      varUser,
       User()
    )
    You can then use one of those fields varUser.FullName or varUser.Email to look up your data source.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 468

#2
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 332 Super User 2025 Season 2

Last 30 days Overall leaderboard