PSTeams icon indicating copy to clipboard operation
PSTeams copied to clipboard

Question : How to send a file to Team's channel

Open AntonyNifosi opened this issue 4 years ago • 5 comments

Hi ,

I am using your PS Module which is relly usefull for what I'm doing but I was trying to send a file to a Team's channel using Powershell and your module. Tell me if I am wrong, but I didn't see anything explaning how I could acheive this and if it's possible. I saw I could use the function Send-MailMessage but I don't really like the way I have to work with it, so if I can do it whith your module I would be really happy !

Thank you in advance

Antony

AntonyNifosi avatar May 20 '21 08:05 AntonyNifosi

I don't think there's any way to send a file to Teams using the way we use. Your only way is to use "links" to files and let people download them.

You can see people requesting it:

  • https://github.com/MicrosoftDocs/AdaptiveCards/issues/237
  • https://github.com/microsoft/AdaptiveCards/issues/5844

PrzemyslawKlys avatar May 21 '21 06:05 PrzemyslawKlys

Hi Rebecca,

I want to attach or upload the file to my adaptive card. Can you guide me through the examples or links which you are having now ?

Regards, Kamaraj.P

kamarajPasupathi avatar Apr 20 '22 17:04 kamarajPasupathi

I have no clue who is Rebecca but this is not possible at the moment.

PrzemyslawKlys avatar Apr 20 '22 17:04 PrzemyslawKlys

hey there! are there any updates about uploading files with adaptive cards?

ibrahimhalici avatar Aug 19 '22 17:08 ibrahimhalici

Don't think so. Haven't seen any action on that end.

PrzemyslawKlys avatar Aug 19 '22 18:08 PrzemyslawKlys