cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nolan1
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
DavesTechTips
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
DavesTechTips
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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,202)