cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Sam44
Level: Powered On

Post a message with a photo to Microsoft Teams

I'm trying to build canvas app and would like to upload a photo from local and want to post it to Microsoft Teams.

Still unclear for me couple of things as;

1. (Using Add Image control) after uploading image file or ordinary file from local, where does these file goes or stores?

2. I wrote like this but only Text and URL has been posted not image or thumbnail stuff;
 MicrosoftTeams.PostMessageToChannel(TeamID,ChannelID,{body:{content:InputText_1.Text & AddFile.Url ,contentType:1}});

 

 Any idea how to post photo or file (like attachments) to Microsoft Teams? Need to use Flow?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Post a message with a photo to Microsoft Teams

Hi @Sam44 ,

Do you want to post a message with a photo to your Microsoft Teams?

 

For your first question, when you use "Add Picture" control to capture the image files from your local, the captured image would be stored within the memory of your app.

 

For your second question, do you want to post a message with a image captured via the "Add  Picture" control to your MS Teams? Based on your needs that you mentioned, I have made a test on my side, I afraid that there is no way to achieve your needs in PowerApps currently.

If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards, 

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

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Post a message with a photo to Microsoft Teams

Hi @Sam44 ,

Do you want to post a message with a photo to your Microsoft Teams?

 

For your first question, when you use "Add Picture" control to capture the image files from your local, the captured image would be stored within the memory of your app.

 

For your second question, do you want to post a message with a image captured via the "Add  Picture" control to your MS Teams? Based on your needs that you mentioned, I have made a test on my side, I afraid that there is no way to achieve your needs in PowerApps currently.

If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards, 

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

View solution in original post

Highlighted
Sam44
Level: Powered On

Re: Post a message with a photo to Microsoft Teams

Hi @v-xida-msft 

 

Thanks for your clarification! 

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,369)