One alternative solution to validate whether the file that you are using in Teams is already deleted in SharePoint is to check the recycle bin of the SharePoint site. When you delete a file from a SharePoint site, it is moved to the recycle bin of the site. If the file has been deleted from the SharePoint site, it will be in the recycle bin. Here are the steps you can follow:
- Go to the SharePoint site where the file was located.
- Click on the gear icon in the top right corner and select "Site contents".
- In the left-hand menu, click on "Recycle bin".
- Search for the file in the recycle bin. If it is there, it has been deleted from the SharePoint site.
- If the file is not in the recycle bin, it may have been permanently deleted and cannot be recovered.
Note: If the SharePoint site has been deleted along with the Teams team, this solution will not work.
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.