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

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

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

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (6,492)