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
Solved! Go to Solution.
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/
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/
PS: This is the same app on my phone.
It works like a charm 😉
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?
User | Count |
---|---|
179 | |
120 | |
87 | |
44 | |
41 |
User | Count |
---|---|
245 | |
156 | |
128 | |
77 | |
73 |