Update file stored on microsoft teams from WPF desktop application

Mihir Purohit 1 Reputation point
2022-06-20T17:14:08.383+00:00

Hi All,

I have developed WPF application. I want to update a file stored on specific Microsoft Teams channel from my application programmatically. I registered my application on https://portal.azure.com by following article given at https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-windows-desktop

Now I am searching for method to access/update file present on specific Microsoft Teams channel. I am exploring Microsoft Graph APIs but could not find so far useful. Kindly advise.

Thank you in advance.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,404 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,122 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,973 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nivedipa-MSFT 2,886 Reputation points Microsoft Vendor
    2022-06-22T06:45:32.633+00:00

    There doesn't seems to be any graph API available for access/update file present on specific Microsoft Teams channel.

    We can get the metadata for the location where the files of a channel are stored using following API

    GET /teams/{id}/channels/{id}/filesFolder  
    

    Ref Doc : https://learn.microsoft.com/en-us/graph/api/channel-get-filesfolder?view=graph-rest-1.0&tabs=http

    Thanks,
    Nivedipa


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link.