cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Profile Picture working on Desktop but not Phone

Hello,

 

I am trying to get the user's profile picture to appear on the home screen of my app. The profile pictures are being taken from the user's Office 365 account (whether they change it on Outlook, Sharepoint, etc.).

 

When I change my profile picture on Outlook, it correctly displays the profile picture like I want it on my home page. I am using the following formula in my "Image" property:

 

"https://outlook.office365.com/owa/service.svc/s/GetPersonaPhoto?email=" & User().Email & "&UA=0&size=HR96x96"

 

This gets the user's photo from Outlook using their email. The problem is that this only works on Desktop. On the phone, despite having a profile picture, there is no image displayed.

 

The problem may arise from the fact that on the PowerApps app, no profile picture is shown above my name and email, despite being attached to the same Office account.

 

Any help would be appreciated!

 

Thanks,

- Nolan

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Hi @nolan1

 

I would suggest using the Office365users connector for this and should make no difference on which device you are using the app.

 

I made a short video to demonstrate this. 

 

Please let me know if you don't come right.

 

Link to YouTube video: https://youtu.be/rcrubFa8758

Link to Office365Users documentation: https://docs.microsoft.com/en-us/connectors/office365users/

View solution in original post

4 REPLIES 4
Super User
Super User

Hi @nolan1

 

I would suggest using the Office365users connector for this and should make no difference on which device you are using the app.

 

I made a short video to demonstrate this. 

 

Please let me know if you don't come right.

 

Link to YouTube video: https://youtu.be/rcrubFa8758

Link to Office365Users documentation: https://docs.microsoft.com/en-us/connectors/office365users/

View solution in original post

PS: This is the same app on my phone.

 

It works like a charm 😉

 

fullsizeoutput_97b.jpeg

Thank you very much! Got it running perfectly 🙂

 

- Nolan

I have the same problem... and it is still an issue.

 

In detail:

I am addressing a person column ("MyProfile" is a person or group type) in a sharepoint list and then get out the .Picture property within a lookup function:

 

LookUp(MyList;SystemDisplay=ThisItem.Title;MyProfile.Picture)

>> This works fine and fast in edit mode, as well as in desktop mode, but it is not working on the mobile app (actual iOS 12.2): no pictures are shown on phone.

 

While using the Office365.UserProfile instead, or -UserPhoto, or -UserMetaData method, it also works - photos will show up - but I get an error message of "... wrong userID" property every time.

 

I have an app which is looking up calendar data, then displaying relevant list items (persons and their user photos).

 

Can you help?

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (76,100)