Hi @DeveloperTeams ,
When you delete a Team in Microsoft Teams, the associated SharePoint site is also deleted. If you restore the SharePoint site from the recycle bin, the files in the General channel are restored, but the files in private and shared channels are not restored. This is because private and shared channels have a different architecture that consists of a separate site with different permissions from the Team. To restore the files in private and shared channels, you need to restore the corresponding Teams channel first. Once the channel is restored, the files will be available in the associated SharePoint site.
For your reference:
https://learn.microsoft.com/en-us/microsoftteams/private-channels
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.