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 / Unable to display mana...
Power Apps
Answered

Unable to display manager picture

(0) ShareShare
ReportReport
Posted on by 95

Im using this code OnStart: 
Set(
_requestTypeFilter;
"All"
);;
Set(
userEmail;
User().Email
);;
Set(userManager; Office365Users.ManagerV2(userEmail));;
Set(HRManagerEmail; "email@")
;;
Set(FinanceManagerEmail; "email@")
What command from Office365Users.ManagerV2 i should use to see the current login manager picture? 

Categories:
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Hitogami ,

     

    You could use this formula to get current user's manager's photo:

    Set(userManagerPhoto;Office365Users.UserPhotoV2(userManager.mail))

     

    Best Regards,

    Bof

  • Hitogami Profile Picture
    95 on at

    Not working, that now my code:
    Set(
    _requestTypeFilter;
    "All"
    );;
    Set(
    userEmail;
    User().Email
    );;
    Set(userManagerPhoto;Office365Users.UserPhotoV2(userManager.mail))
    ;;
    Set(HRManagerEmail; "@email")
    ;;
    Set(FinanceManagerEmail; "@email")

    Screenshot 2024-04-26 100521.png
  • Sanshubhs Profile Picture
    98 on at

    First get manager then get that manager's photo based on manager's email.

  • Hitogami Profile Picture
    95 on at

    so can u please give me the clue, the code i mean

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Hitogami ,

     

    I've made a test and it worked well.

    vbofengmsft_0-1714123375332.png

     

    Best Regards,

    Bof

     

  • Hitogami Profile Picture
    95 on at

    Can you please say where i should past your code here?
    Set(
    _requestTypeFilter;
    "All"
    );;
    Set(
    userEmail;
    User().Email
    );;
    Set(userManagerPhoto;Office365Users.UserPhotoV2(userManager.mail))
    ;;
    Set(HRManagerEmail; "@email")
    ;;
    Set(FinanceManagerEmail; "@email")

  • Hitogami Profile Picture
    95 on at

    when i tried to type the same i got errors, do u know why?error.png

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 225

#3
M Bilal Khan Profile Picture

M Bilal Khan 192

Last 30 days Overall leaderboard