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

Community site session details

Session Id : YeZwVqxCvWLxIaNz5s4IEP
Power Automate - Building Flows
Unanswered

undefined

Like (0) ShareShare
ReportReport
Posted on 29 Dec 2022 10:18:39 by 18

Hi

 

I am trying to extract user profile photo to use in adaptive cards. I am using data:image/png;base64,base64(outputs('Get_user_photo_(V2)')?['body'])

to do the same. However I am getting 404 error stating below. Please help me out with the issue

Error details 

{"errorCode":201,"message":"{\"subCode\":\"MessageSizeExceeded\",\"details\":\"Message properties size exceeded.\",\"errorCode\":null,\"errorSubCode\":null}","standardizedError":{"errorCode":201,"errorSubCode":1,"errorDescription":"MessageSizeExceeded-Message properties size exceeded."}}

My flow

tmp_8263b8cf-c46d-4bb4-bac4-fdc8cbbb7a7b.png

tmp_e22954c5-8caa-4276-a2b9-f13dbe3f7801.png

 

 

I have the same question (0)
  • Unknown99 Profile Picture
    18 on 28 Jan 2023 at 06:14:29
    Re: undefined

    Hi,

     

    I have tried hosting my image in share point and proving that link, however it did not work.

  • Unknown99 Profile Picture
    18 on 30 Dec 2022 at 02:33:52
    Re: undefined

    Hi 

     

    Thanks for the info.

    I have to try the option you mentioned, hosting the image somewhere and fetching it.

     

    Is there any way we can decrease the size of the image directly after fetching it with in the powerautomate. 

  • Expiscornovus Profile Picture
    32,205 Most Valuable Professional on 29 Dec 2022 at 14:17:05
    Re: undefined

    Hi @Unknown99,

     

    How big is the image you are trying to include? As far as I am aware the message size limit is 28 kb. My guess would be that a profile picture is probably a bit bigger?

     

    When an action posts a message, the message size limit is approximately 28 KB. This limit includes all HTML elements such as text, images, links, tables, mentions and so on. 

    https://learn.microsoft.com/en-us/connectors/teams/#known-issues-and-limitations-with-actions

     

    Have you tried hosting the image somewhere else and just linking to it instead of trying to embed it?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2