Overview
The error message “Channel name already existed, please use other name” occurs when a Teams channel is deleted, it is moved to the Deleted Section within Microsoft Teams.
As long as the deleted channel remains in this section, inSync cannot create a new channel with the same name during the restore process.
Traceback:
Failed to restore channel. Error Internal error. Response Code: 400
Text: {"error":{"code":"BadRequest","message":"Channel name already existed, please use other name",
"innerError":{"message":"Channel name already existed, please use other name",
"code":"NameAlreadyExists","innerError":{}}}
Resolution
To successfully restore the deleted channel, follow these steps:
1. Check the Deleted Channels Section
• Navigate to Microsoft Teams.
• Go to Team Site → Settings → Channels → Deleted.
• If the channel still exists in the deleted section, it must be restored manually from there.
2. If the Channel is Not Needed in the Deleted Section
• Permanently delete the channel from the deleted section.
• Once the deleted channel is purged, inSync will be able to restore the channel with the same name.
📝 Note
• Microsoft Teams retains deleted channels for a period before permanent deletion.
• If the restore continues to fail even after deleting the channel from the deleted section, contact support for further assistance.