I have been trying to test web app bot creation in Azure so I have been deleting and recreating a particular bot. Here are the settings
Cr
This is a known timing issue with portal backend communicating with the portal UI.
Sometimes the provisioning completes, but the Web Chat control cannot be used because the resources are not fully loaded. In this state, 'Test in Web Chat' can hang and not complete. As a workaround, clicking off of 'Test in Web Chat' (click on 'Channels' or 'Settings'), then back onto 'Test in Web Chat' will 'Revive' the connection.
Just check the below option in Publish settings under Configuration settings and then republish your bot