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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard