Hello All,
I am creating a PowerApp application for my team where I want to showcase training materials, along with team members information along with their pics. I have built in a feature on one of the screens where the person using the application can change their display pic which will then be updated across all applications in Office 365 domain i.e. Teams, Outlook, etc. To achieve this functionality, I am using the following function to showcase the user image under a image media Office365Users.UserPhoto(Office365Users.MyProfile().Id)
I have created a button called "Change Profile Pic". On clicking of this button, user is navigated to different page where they can upload a image stored on their system and click of save. SAVE button has following code mentioned in OnSelect - Office365Users.UpdateMyPhoto("image/jpeg", UploadedImage1.Image); Back();
where UploadedImage1.Image is a image media which showcases the image uploaded by user from their machine.
On clicking on save, everything works fine and I am navigated back to my start page BUT, the newly uploaded image doesnt showcase until and unless I refresh the app. Also the image doesnt get synced across various applications like I wanted to. Is this feature of changing "Profile Image" possible via PowerApps? If yes, what steps am I missing?