web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Action 'Update_my_prof...
Power Automate
Unanswered

Action 'Update_my_profile_photo' failed

(0) ShareShare
ReportReport
Posted on by 41

Hi there,

 

We've built a small Power App to enable our staff to upload a new profile picture, and once approved, update their profile photo. However this appears to fail when setting the profile photo for users, apart from myself (as the creator of the flow and Power App).

 

Below is the errors we receive:

 

{
 "statusCode": 400,
 "headers": {
 "Transfer-Encoding": "chunked",
 "Vary": "Accept-Encoding",
 "Strict-Transport-Security": "max-age=31536000",
 "request-id": "953a1c13-867d-4161-b60d-786590be064b",
 "client-request-id": "953a1c13-867d-4161-b60d-786590be064b",
 "x-ms-ags-diagnostic": "{\"ServerInfo\":{\"DataCenter\":\"West Europe\",\"Slice\":\"E\",\"Ring\":\"5\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"AM4PEPF0000DE75\"}}",
 "Timing-Allow-Origin": "*",
 "x-ms-apihub-cached-response": "true",
 "Cache-Control": "private",
 "Date": "Tue, 25 May 2021 17:56:44 GMT",
 "Content-Type": "application/json",
 "Content-Length": "296"
 },
 "body": {
 "error": {
 "code": "ErrorInvalidRequest",
 "message": "The request is invalid.",
 "innerError": {
 "date": "2021-05-25T17:56:45",
 "request-id": "953a1c13-867d-4161-b60d-786590be064b",
 "client-request-id": "953a1c13-867d-4161-b60d-786590be064b"
 }
 }
 }
}

 

 

Any help would be greatly appreciated.


Thanks

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @ChrisBrownNSFT,

     

    It's unfortunate that the Update my profile photo action only support update the connection owner, it means the action not support update other user profile photo:

    https://docs.microsoft.com/en-us/connectors/office365users/#update-my-profile 

     

    As a workaround, you could use the API to approach that:

    Update profilephoto - Microsoft Graph v1.0 | Microsoft Docs

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard