Hello Folks,
We have got a requirement to update the Employee User Profile Photo along with their approval.
So we have created an app for the user to upload their image and other metadata, in back-end we are using Common Data Services within PowerApps.
Now for updating the User Profile Photo in Office 365, Microsoft has provided a handy connector in Flow named "Update my profile photo" within Office 365 Users.
Therefore in Microsoft Flow, I am using the following actions:
1. A built-in CDS Trigger on which gets fires on Create and Update
2. Store the InternalItemID of the entry in a Variable
3. A built-in CDS Get file or image content
4. The action which update the user profile photo
This works fine when I trigger the flow - my profile photo gets immediately updated, however when another user uses the app - the flow gets trigger however my photo gets updated and not the one who trigger the flow, (I am assuming the flow runs using my account).
Within the CDS trigger, there is a way to define a scope - I played with all of them however got the same results. (see second picture)
Anyone can enlighten here.
Thanks in advance.
Cheers.

