Search code examples
azurecommand-line-interfacebotframework

Resources deleted from Azure portal shows as still available when using "msbot clone services" bot-builder-tools command


We are trying to create services using "msbot clone services" bot-builder-tools command.

After successfully running it once, deleted resource group using Azure portal and retried the same command again. Got error that bot already exists and it also gave command to delete the resource using "az bot delete --name --group-name --no-wait" command. On running this new command, it rightly reported that resource doesn't exist.

Question is why msbot clone services report that resource exists, which infact has been deleted.

Click to view image


Solution

  • You need to delete TransactionalBot.bot, locally. It's saying that the .bot file exists, not an Azure Resource.

    Alternatively, you can change the --name argument to something other than TransactionalBot