@Siva Krishna Kumar -
Creating a custom contextual menu in the Microsoft Teams Files tab within a channel is not directly supported in the same way as SharePoint List View Command Set Extensions. However, you can achieve similar functionality using a combination of Microsoft Teams app capabilities and SharePoint Framework (SPFx) extensions.
Options to Consider
- Custom Teams App with Messaging Extensions:
- You can create a custom Teams app with messaging extensions (also known as compose extensions) that allow users to interact with files and perform actions.
- Messaging extensions can be invoked from the message compose area or directly from a message, but they do not provide a right-click context menu in the Files tab.
- SharePoint Framework (SPFx) Extensions:
- SPFx extensions, specifically Command Set extensions, can be used to add custom actions to SharePoint document libraries.
- If your Teams Files tab is connected to a SharePoint document library, you can use SPFx to add custom actions to the document library, which will be reflected in the Teams Files tab.
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. Click here to escalate.