Dear @Reshmee Auckloo,
Welcome to Microsoft Q&A Forum!
Following up on your inquiry regarding the visibility of SharePoint document library tabs added programmatically to Microsoft Teams shared channels, I wanted to share my findings and insights:
1.Current unexpected behavior in New Teams UX:
Programmatically added SharePoint document library tabs (via Microsoft Graph or PnP PowerShell) are currently not visible in shared channels when viewed in the new Microsoft Teams client. This issue does not affect standard channels or users still using the classic Teams experience.
2.At this time, I have tried my best to search and consult on my side, but there is no confirmed fix or supported programmatic workaround to ensure visibility of these tabs in shared channels within the new Teams client. Also, I found that many users reported this issue, so Microsoft may have this information but no timeline for resolution has been announced.
3.Until a fix is released, I highly recommend adding document library tabs to shared channels manually via the Teams interface. This ensures full compatibility and visibility for all users, including those on the new Teams experience. This may be currently the only fully reliable method.
I understand this may impact your automation workflows, but we should wait for Microsoft’s updates at this time. If this functionality is critical to your operations, I’d recommend opening a new thread in the Microsoft Community Hub or on GitHub, there are many developers and SDK contributors there who can give you more targeted help. This may help you get the most accurate guidance, and I also don’t want to accidentally give you misleading instructions at this current behavior of the issue.
Besides that, I found these cases that may be related to your situation, you can take a look as well:
I hope this information can give you some insights in this case. Wish you a good day!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.