Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Experimental Features
Suggested answer

Email different in app compared to SharePoint people picker

(0) ShareShare
ReportReport
Posted on by 726
When I checked the app the people picker variable shows the email with capitalized letters, however, when I check the people picker in SharePoint the email is shown in all common letters.
 
The Office365Users.MyProfileV2() also returns the email in all common letters. 
 
Therefore when making the comparison Office365Users.MyProfileV2() = User.Email it return false.
  • Pstork1 Profile Picture
    65,999 Most Valuable Professional on at
    Email different in app compared to SharePoint people picker
    I suspect user().Email may be pulling from Entra ID instead of the profile.  Check to see if that is where its being capatalized.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • rpersad Profile Picture
    726 on at
    Email different in app compared to SharePoint people picker
    Checked on the Microsoft Admin Center and confirmed that the email is in all common letters
  • rpersad Profile Picture
    726 on at
    Email different in app compared to SharePoint people picker
    Hi  ,
     
    I understand I can use the Lower() function to fix the issue but I would like to find out the cause for the issue given not all users experience this issue.
     
     
  • Suggested answer
    Pstork1 Profile Picture
    65,999 Most Valuable Professional on at
    Email different in app compared to SharePoint people picker
    Use the Upper() or Lower() function on both sides of the condition to get it to evaluate in a case insensitive fashion
     
    lower(Office365Users.MyProfileV2()) = lower(User.Email)

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics