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 / How to set the profile...
Power Apps
Unanswered

How to set the profile picture in model driven app

(0) ShareShare
ReportReport
Posted on by 37

 Hi,

 

We have created a model driven app and released to several users.One of the requirements is to show the profile picture.

 

Is that possible ?. Please let us know how we can achieve that.

 

Thanks

 

 
 
pro.png
Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @manishsg ,

     

    Do you mean show the login user profile picture in the purple navigate bar?

    I'm afraid there is no way to achieve your need. Please consider submit an idea to PowerApps Ideas forum if convenience.

    Sik

  • Jen567885 Profile Picture
    20 on at

    Has this been added as a possibility yet? I'm in the same position of wanting to be able to display a users photo based off of the 365 users, but cant seem to do this in a model driven app. 

     

  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @manishsg 

     

    Hello, the image or profile photo is associated with the M365 account, so each user must be the one to modify it. If the user has added it, it can be viewed in the session.

    https://eur.delve.office.com/
    If it is not blocked by the M365 administrator you can add the photo

     

    Jmanriquerios_0-1699360175383.png

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

  • Jen567885 Profile Picture
    20 on at

    Hey,

     

    That's not quite what I mean. All of our users have a profile picture. When I built the CRM tool as a canvas app I could use the O365 Users connector to show profile pictures on the customer data cards; I cant get this same thing to work in a model driven app on the form views.

     

    Ideally I want the primary image to pull from the O365 database, but I just cant find out how to make this work.

     

    Appreciate your support.

    CapturePic.JPG
  • Redbird Profile Picture
    59 on at

    Have you tried embedding a small CanvasApp in your ModelApp?
    https://learn.microsoft.com/en-us/power-apps/maker/model-driven-apps/embedded-canvas-app-add-classic-designer

     

    When you say form views, do you mean that you wish to display the image in a column in the views?

  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @manishsg 

     

    I already understand what you are saying.

    Now I'll tell you a possible solution, you should pull Power Automate from the same Office Users connector and from there obtain the image, then you should list all the users with the list row dataverse action (I suggest you use a filter if you have many users ), and once you obtain the user's GUID, there is another dataverse action called upload image, there look for the name of the attribute and that way you would have it

     

    Jmanriquerios_0-1699366406554.png

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

  • Jen567885 Profile Picture
    20 on at

    Hey,

     

    Thanks for this - I've just had a quick look at the flow but I'm not sure I understand what you mean. I have 1000 users in my CRM list, would I have to run this flow and update the User UPN 1000 times in order to get each user photo?

  • Jonathan Manrique Profile Picture
    2,695 on at

    Hi @Jen567885 

    What the flow does is retrieve the users from your systemusers entity and from there you must look for the photo in the Office 365 profile and then that you have the photo upload it in the last action that shows you.

     

    The flow is only one time that it will be executed, only that it may take a while because it is 1000 records, what I showed you yesterday is one way to do it, but by doing it once all those 1000 will have the photo as long as they have it in the M365 profile

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution

  • Jen567885 Profile Picture
    20 on at

    Is this really the only way to get a profile pictured linked to a model driven app? Having to run a flow 1006 times, replacing the GUID for each user every single time feels way more mandraulic than it should be for a Microsoft application?

  • Jen567885 Profile Picture
    20 on at

    Hey! I cant seem to get this to work either, but appreciate your suggestion! Its just in a model driven app - a list of customers, you click their name and details about them pop up, but no profile picture pulls through - I know they have them as I can see them on a sharepoint list when I add them in the 'people' column and it pulls from o365 global address book, but I cannot for the life of me find a way to get this to pull through to a model driven app. Canvas - no problem. Its literally Office365Users.UserPhoto(This.Item.'Email Address'). For model driven, absolutely no one has been able to provide me with a sensible solution - only to run a flow 1006 times for each stakeholder.... its keeping me up at night I tell you! 🤣

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard