Skip to main content
All CollectionsKnowledge BaseEndpoint and SaaS AppsTroubleshooting - Endpoint and SaaS Apps
Teams Backup failing with Error due to a channel not being found
Teams Backup failing with Error due to a channel not being found
Updated over 2 months ago

Problem description

Microsoft Team Site backups with error. When you open up the backup log from Activity Streams, you will notice the following error traceback:

Cause

  • The team channel is present but, its corresponding folder is not present in sharepoint.

  • The non existence of this folder can be either due to :

    • Creation of the channel was not fully successful.

    • Admin must have deleted using some other commands like using powershell

Traceback

[2022-10-12 18:08:33,852] [ERROR] Failed to get channel name from files folder api for channel : 19:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx@thread.tacv2, fault Internal Error!! Response Code: 404 Text:{"error":{"code":"NotFound","message":"Sharepoint folder not found.","innerError":{"message":"Sharepoint folder not found.","code":"ItemNotFound","innerError":{},

Resolution

  1. Log on to the Microsoft Graph Explorer with the Global Admin Access. Link: https://developer.microsoft.com/en-us/graph/graph-explorer

  2. Copy the following graph URL and paste it in the query box:
    https://graph.microsoft.com/v1.0/teams/02bd9fd6-8f93-4758-87c3-1fb73740a315/channels/ <channel guid found in the log>

  3. Run the above graph URL and it should display the name of the channel.

  4. Launch Microsoft Teams application and access the concerned team.

  5. Click on this channel name in the Team App. This will re-create the corresponding folder in the corresponding site collection.

  6. Run the backup of the Team once again.

Did this answer your question?