Forum Discussion

chetan_sk's avatar
chetan_sk
Copper Contributor
Jul 25, 2023
Solved

Uploading the CSV files to teams channel using python

Hi I have a requirement of getting data from few sources transforming it using pandas and then generating a CSV or Excel file of to post in microsoft teams programatically. Is there any way to post...
  • Prasad_Das-MSFT's avatar
    Prasad_Das-MSFT
    Jul 26, 2023

    chetan_sk - yes, the second option i.e., using bot API, that limits to only personal scope. And as your intent to send files in team's channel you have to go with first approach only.

    The file you intent to send must be already present in SharePoint. Once you fire the API query, it will send message with attachment directly in team's channel. (not as reference link to download the file)



    Thanks, 

    Prasad Das

    ------------------------------------------------------------------------------------------ 

    If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.

Resources