Forum Discussion

Ryan Stone's avatar
Ryan Stone
Iron Contributor
Jul 06, 2017

How to Get User Profile Picture

How can I pull a person's picture from their O365 User Profile and display on a form?

5 Replies

  • Joshua_Zelvy's avatar
    Joshua_Zelvy
    Iron Contributor
    If you are using PowerApps you can insert an Image Control on the form, then use the following formula for the Image attribute in the data section. User().Image More info here on User() https://powerapps.microsoft.com/en-us/tutorials/function-user/
    • Ryan Stone's avatar
      Ryan Stone
      Iron Contributor

      Yes that works but only for the current logged in user. But what about other users?

       

      For example using the sample Employee Directory app I would like to extend it to show a person's picture when you pull them up in the app. 

      • Dan Scognamiglio's avatar
        Dan Scognamiglio
        Copper Contributor

        Ryan Stone wrote:

        Yes that works but only for the current logged in user. But what about other users?

         



        +1.

         

        I'm having the exact some problem with no luck. PowerApp templates like Shoutouts seem to make use of some kind of functionality like this, but I can't tell how to replicate it in really simple terms...

Resources