EvotecIT/PSTeams

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

AntonyNifosi opened this issue · 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

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:

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

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

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

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