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 / Help with Office365Use...
Power Apps
Answered

Help with Office365Users.MyProfileV2 error

(0) ShareShare
ReportReport
Posted on by 550

Hello - I'm getting an unusual error when attempting to call the Office365Users.MyProfileV2 function to set global variables of user data in the OnStart property of a new app. I've used this same code in previous apps without issue so am wondering if Microsoft has changed a setting for this function or released an updated version to V2?

 

Using the concurrent function, I'm setting the variables. I've switched the name and email to the User() function instead, but I need the O365Users function to get job title and department. However I am getting an error that the function is not known. Does anyone see what I'm doing wrong? This is working in other apps.

 

kky1_0-1693948712494.png

kky1_1-1693948746134.png

 

Any help is greatly appreciated.

Kendra

@kky1 

Categories:
I have the same question (0)
  • Verified answer
    SebS Profile Picture
    4,803 Super User 2026 Season 1 on at

    @kky1 

     

    Did You forget to add Office365Users Connector?

     

    SebS_0-1693949374787.png

     

     

    You can see similar behaviour when you forget to add it.

     

    SebS_0-1693949546705.png

     

  • Verified answer
    SpongYe Profile Picture
    5,715 Super User 2026 Season 1 on at

    Hi @kky1 

     

    Based on the documentation: https://learn.microsoft.com/nl-nl/power-apps/maker/canvas-apps/connections/connection-office365-users

    It should be:

    Office365Users.MyProfile().JobTitle
    Office365Users.MyProfile().Department

     


    ------------------------------------------------------------------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved. Remember, you can accept more than one post as a solution.

    If you like my response, please give it a Thumbs Up.

     

  • kky1 Profile Picture
    550 on at

    Oh my gosh @SebS - I feel like an idiot. You're exactly right - I hadn't connected the app to the O365 connector. This is why I shouldn't post questions late in the day (I'm on EST). Thank you for being my Captain Obvious of the day!

  • SebS Profile Picture
    4,803 Super User 2026 Season 1 on at

    @kky1 

     

    Don't worry. This happens even to the best. I am glad I could help 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard