Power Fx function
Office365Users.MyProfileV2 — Power Fx function reference
Rich profile of the current user.
Syntax
powerfx
Office365Users.MyProfileV2()
Examples
powerfx
Office365Users.MyProfileV2().jobTitle
→ Profile field
powerfx
Office365Users.MyProfileV2().department
powerfx
Office365Users.MyProfileV2().officeLocation
Common mistakes & gotchas
- Returns more than User() — title, department, manager, and so on.
- Returns a richer set of Azure AD attributes (jobTitle, department, officeLocation, mobilePhone) than the built-in User() function, but requires adding the Office 365 Users connector as a data source and costs an API call each time it is invoked unbound.
- Field names on the returned record are camelCase (jobTitle, not JobTitle) since they mirror the Microsoft Graph shape directly — easy to mistype against Power Fx's usual PascalCase conventions.
Related Power Fx functions
From Connectors (real patterns)