cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User
Super User

Re: Profile Picture working on Desktop but not Phone

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
Highlighted
Super User
Super User

Re: Profile Picture working on Desktop but not Phone

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

Highlighted
Super User
Super User

Re: Profile Picture working on Desktop but not Phone

PS: This is the same app on my phone.

 

It works like a charm 😉

 

fullsizeoutput_97b.jpeg

Highlighted
Frequent Visitor

Re: Profile Picture working on Desktop but not Phone

Thank you very much! Got it running perfectly 🙂

 

- Nolan

Highlighted
Regular Visitor

Re: Profile Picture working on Desktop but not Phone

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (4,496)