Is it possible to update the user profile image in powerapps?
Solved! Go to Solution.
Yes! The Onboarding Tasks demo app actually has this functionality, so digging into that app should be helpful. Create a new canvas app and select the tablet layout templates to find it.
Otherwise, the quick answer is to use the Office365Users connection and the following code:
Office365Users.UpdateMyPhoto("image/jpeg", UploadedImage1.Image)
where UploadedImage1.Image is the picture you want to use.
Also, you can do that by logging into office.com, clicking your name in the top right corner, and selecting 'My Office profile', if you are just wanting to do that in general and not as a PowerApp feature.
Yes! The Onboarding Tasks demo app actually has this functionality, so digging into that app should be helpful. Create a new canvas app and select the tablet layout templates to find it.
Otherwise, the quick answer is to use the Office365Users connection and the following code:
Office365Users.UpdateMyPhoto("image/jpeg", UploadedImage1.Image)
where UploadedImage1.Image is the picture you want to use.
Also, you can do that by logging into office.com, clicking your name in the top right corner, and selecting 'My Office profile', if you are just wanting to do that in general and not as a PowerApp feature.
Hi, this method has now changed and does not work. Are you able to help with new instructions please as we really want to get this function working in PowerApps to help our colleagues easily upload an image? Thank you
Hi all, I tried it, but it is giving me this error The function UpdateMyPhoto has some invalid argument.
Hello,
I use this formula to modify the picture through Outlook online:
OnSelect: Launch("https://outlook.office.com/owa/?path=/options/myaccount/action/photo")
Hi, how did you get the link to the profile picture setting in Outlook? I would need a link for the profile picture setting in teams. I need that, because the profile picture that you upload in Outlook does not sync with the profile picture in teams.
All the best
User | Count |
---|---|
258 | |
111 | |
95 | |
48 | |
41 |