Firstly, great application you have built - it really seems to have made it easier to build and deploy bots than use .NET and the Bot Framework to make simple bot solutions.
However I have a question in relation to exporting a bot to another tenant, as we may have a requirement where we build a Bot for a customer requirement in our tenant and then need to export it into their own tenant or environment- in a similar way in that Flow can export and then be imported.
I have checked the 'Deploy' area and see no ability to export / import the bot, so I wondered if this is possible and if so, are there any constraints to consider - such as having built Flow integrations within the bot etc.
You can provide your client with a copy of your solution containing the PVA bot. They can import the solution into their tenancy from the power platform maker portal.
@JoeGill ,thank you for your feedback. No extra steps are required as we have Power Automate Flows used by the BOT?
By creating a new PVA connection reference, I think we will have a new BOT ID.
Indeed they are in the same solution with the PVA BOT. I was checking because the BOT is no longer working when we embed it into a website after deployment on the second tenant. The Microsoft support mentioned that there is no official documentation to move PVA BOT between tenants and that can be the main reason for getting a 3000 error code.
Sorry for the delay. I may be misunderstanding your issue. I just created a bot with a simple flow and was able to import into a new tenancy without issue. Is this a user authentication issue? or you trying to access deployed bot in another tenancy?
I was trying to use the deployed bot on the new tenant from the client side using a custom webchat widget with Directline API. I got that error for the BOT from the new tenant. The other BOT work as expected from the client side as below :
Sorry for the delay. I was able to generate a token in the tenancy where I imported my bot solution.
I was able to use this to connect using the webchat.directline without issue
If you want to send me a sample bot solution I can try it
Keep up to date with current events and community announcements in the Power Virtual Agents community.
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Check out the latest Community Blog from the community!