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().FullName differ...
Power Apps
Answered

User().FullName different behaviour depending on browser

(0) ShareShare
ReportReport
Posted on by 13

Hi,

I have simple label in canvas app with text User().FullName.

When i open app in Chrome label is showing last name and then first name, for example Doe John.

When i edit app in powerapps studio in Chrome label is in reversed order, John Doe.

When i open app in Firefox or Edge label is also John Doe (first name last name).

 

I cannot find reason why is that. I tried to clear Chrome cache, didn't help.

Any idea?

Categories:
I have the same question (0)
  • Verified answer
    JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    It may not help.   Your 'Account' Information in Chrome may be different than in other places.  I prefer to use the Office365Users connector for that reason.   This is what Microsoft has to say about that function:

     

    The information returned is for the current Power Apps user. It will match the "Account" information that is displayed in the Power Apps players and studio, which can be found outside of any authored apps. This may not match the current user's information in Office 365 or other services.

  • kriskozi Profile Picture
    13 on at

    In fact i did use Office365Users connector by setting up variable with givenname and surname. It looks like it solved my problem.

    Still weird thing is that yesterday User().FullName was showing firstname lastname and today lastname firstname in the same browser.

    Thx for help

  • VNO Profile Picture
    43 on at

    Very strange indeed.

    I have an application (deskbooking, back to office after Covid...) that takes User().FullName  as information for later text (cfr delegation) query.

    Same application, same brower, but in PowerApps environment it gives Last/First name, and app embedded in SP page gives the opposite = Fist/Last name...  😕

  • Sajarac Profile Picture
    3,295 on at

    Hi, I am using the function:

    First(Split(User().FullName," ").Result.

     

    It was working fine, but as of yesterday now it is in reverse order. The weird behavior here is in Studio I can see the Name, but once is published in Chrome I see the last name.  Any help please?

  • kriskozi Profile Picture
    13 on at

    Hi,

    I'm no longer using User().FullName when i need to use this information for example for filtering purpose, beacuse of its behaviour i described above.

    Instead i use Office365Users connector.

    In the On Start of app i'm setting variable like this.

    Set(CurrentUserFullName;Office365Users.MyProfile().GivenName & " " & Office365Users.MyProfile().Surname)

    Whenever i need to use Full Name of current logged user i use this variable.

    You might need to change semicolon for comma depending on your language.

    Also name of connector "Office365Users" differs depending on language.

    Hope this helps.

    Cheers

  • Sajarac Profile Picture
    3,295 on at

    Thank you very much @kriskozi 

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
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard