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
Highlighted
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
Highlighted
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

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
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (3,635)