[Node.js, Azure Bot Service] Error trying to migrate bot
Bot Info
- SDK Platform: Node.js
- SDK Version: 3.14.0
- Active Channels: Webchat, Direct Line, Skype
- Deployment Environment: Azure App Service
Issue Description
I'm trying to migrate the bot to the new Azure service, but after clicking the migrate button and starting the process I get the following error message and the process stops: An error occurred: 500 An internal error occurred at the server.
Do you have access to multiple azure subscriptions? We have a workaround on our troubleshooting guide that might help: https://docs.microsoft.com/en-us/bot-framework/bot-service-troubleshoot-general-problems#why-cant-i-migrate-my-bot Please review, and let us know if this workaround resolves the migration issue.
@EricDahlvang, thanks, but I've tried the solution and it did not work. Only the error code changed from 500 to 400. Not sure if I've followed the guide exactly as described though. I don't know what "From the target directory" means in the instructions. I've added a guest user through Azure Active Directory, provided him with the proper roles and tried to migrate the bot using this user. Any further advice?
The target directory is the directory to which the bot is being migrated, not the directory the bot is currently in.
Ok, but then how do I know what is the target directory and, more important, how do I add a new user from this target directory as stated in the instructions?
Go to https://aad.portal.azure.com and in the top right, choose the directory you are migrating the bot into (that is the target directory). Then on the left, choose Users and add a new user:

I have no option to change directory in the top right:

This means that your user has access to just the one azure tenant. Do you see error details in the browser console? Also, please share your MicrosoftAppId and BotHandle, and I will investigate further.
Indeed there are error details in browser console. It seems to be 17 repetitions of the same error. Here is the log: dev.botframework.com-1519903368390.log Microsoft App Id: e513659a-768f-4c0b-89cb-dd5b46d42d60 Bot Handle: consolador
Thanks!
@EricDahlvang, any news on this topic? Thanks.
@bpleao I apologize for the delayed response. It is not clear to me what the issue is with migrating your bot. I will escalate this today.
Hi @bpleao, sorry about the inconvenience, we're seeing the issue in our logs and we're investigating. Will let you know as soon as we understand what's causing this.
Hi @Andrea-Orimoto, any news on this?
Hi @EricDahlvang, any news on this? I'm worried because we're getting close to the end of the month and I suppose my bot will stop working if I don't migrate it by then, right?
Hi @bpleao, sorry about the delay, no news yet. If we can't unblock you in time, we will whitelist your bot until we fix your issue. Will be in touch soon.
Hi @bpleao, can you contact me at [email protected], so we can discuss how to unblock you? thanks and sorry for the inconvenience.
Hi @Andrea-Orimoto, just sent you an email. Thanks
Hi, I'm also having the same issue migrating my bot to the new Azure service. When I clicked migrate button, I got the following error (code 400):
The operation is not permitted for namespace 'Microsoft.BotService'. List of permitted provider namespaces is 'Microsoft.Authorization,Microsoft.Features,microsoft.insights,Microsoft.NotificationHubs,Microsoft.Resources,Microsoft.Sql,microsoft.support,microsoft.visualstudio,Microsoft.Web,SuccessBricks.ClearDB'.
I also have only access to one azure tenant and the bot I have has the same specs as bpleao's bot. Should I send Andrea an email too?
@Fujihita If you are still experiencing a problem with migration, please open a new issue. https://github.com/Microsoft/BotBuilder/issues/new
Closing this, as Andrea-Orimioto is handling it via email. Thanks Andrea!
This is still open, we've put this on hold, but still looking at it. I'll follow up on this one.
I have the same problem as @bpleao, sent an email to @Andrea-Orimoto with the details.