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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / User function not show...
Power Apps
Answered

User function not showing user data in production

(0) ShareShare
ReportReport
Posted on by 9

Hey there,

 

I've searched around and couldn't find anything related to it.

 

As you can see on the image below, the user data is being loaded on the Canvas App.

cmatt7_0-1716925730225.png

Now this is on the deployed app, nothing is shown.

cmatt7_1-1716925817441.png

 

What could be the issue?

 

Thanks in advance. 

 

Categories:
  • Verified answer
    cmatt7 Profile Picture
    9 on at

    All right, easy to fix it.

     

    On the App OnStart set a global variable to the user display name, photo or anything else you want to show.

    Use Office 365 Users connection on the app, to grab any data related to the user just use the connection functions to retrieve it.

     

    Example: Office365Users.MyProfile().DisplayName

     

    Let's say you save this on the "userName" global variable, just use the variable whenever you need it and there you have it.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard