Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

email address in SharePoint difference from PowerApps variable

(0) ShareShare
ReportReport
Posted on by 39

hi everyone,

 

I have create an inventory apps that control by registered admin in SharePoint list. The idea is the apps can filter logged in user is it admin or not for allowing full access in the apps.  I have create a variable for logged in user i.e. : set( varUser,User() ). then create a variable (isUserAdmin) as image below, but the result apps don't find any data as per 2nd images. 

Khairul_Amri_1-1718356473233.png

image 1 

Khairul_Amri_2-1718356955849.png

image 2

Khairul_Amri_3-1718357143747.png

I'll have notice that email address between SharePoint and variable in PowerApps quite difference.

variable= khairul_amri@petronas.com

SharePoint= Khairul_amri@petronas.com.my

 

if this the case how can ill fix it?

 

  • Verified answer
    Dominik_Nau Profile Picture
    85 on at
    Re: email address in SharePoint difference from PowerApps variable

    @Khairul_Amri give it a try by using the O365 Connector

    Set(CurrentUserEmail,Office365Users.MyProfileV2().mail)

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,658 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