This article describes how to sign in to Azure, provision Azure resources, import existing Azure resources, and publish a basic bot to Azure Web App (Preview), all from within Bot Framework Composer.
Note
If you choose to run scripts to provision Azure resources and publish your bot, follow the instructions in the README file of your bot's project folder, for example, under this directory: C:\Users\UserName\Documents\Composer\BotName.
Note
Azure QnA Maker will be retired on 31 March 2025.
Beginning 1 October 2022, you won't be able to create new QnA Maker resources or knowledge bases.
A newer version of the question and answering capability is now available as part of Azure AI Language.
Custom question answering, a feature of Azure AI Language, is the updated version of the QnA Maker service.
For more information about question-and-answer support in Composer, see Natural language processing.
Conversational language understanding (CLU), a feature of Azure AI Language, is the updated version of LUIS.
For more information about question-and-answer support in Composer, see Natural language processing.
In the Add new publishing profile pop-up window, in the Name box enter the name of the profile. In the Publishing target box, select Publish bot to Azure. Then select Next.
Hand off to an administrator to request your Azure admin to provision resources on your behalf and publish a bot.
You'll then see the Sign in window. Enter the email address associated with your Azure account and select Next.
After signing in to Azure successfully, you'll be directed to the Configure resources window. At the lower-left of the Configure resources window, you'll see your Azure account information.
The next step is to select how you would like to provision and publish your bot. There are two options to proceed:
This section covers steps to provision Azure resources from within Composer. If you already have your Azure resources provisioned or created manually in the Azure portal, follow the instructions in Import existing Azure resources instead.
Once you're signed in to Azure from Composer, select Create new resources. Read the instructions on the right side of the screen and select Next.
In the Configure resources pop-up window, provide the requested information. Remember to select the operating system (Windows or Linux). Based on your template selection when creating the project, runtime (.NET, or Node JS) and your App Service, a default OS selection is assigned.
In the Add resources window, select the resources to create. Then select Next.
Use the control to the left of each optional resource to choose whether to create that resource. You might need to hover over the column to see the control. You can also toggle your choice for a whole group of resources at once. Then, select Next.
Important
If you're provisioning LUIS resources, make sure you select both the LUIS authoring resource and the LUIS prediction resource. If you already have a LUIS authoring or prediction resource configured locally, the provisioning process will create new ones for you.
In the Review & create window, review the resources that will be created. Select Create.
You'll see messages in the upper right corner of your Composer. These messages describe the status of the provisioning process. This will take a few minutes to complete.
After you see the Provision success message on the upper right corner of the Composer screen, the provisioning process is completed. Go to your Azure portal to see the new resources created.
Follow the instructions covered in the publish your bot section to deploy your bot.
Import existing Azure resources
Select Import existing resources. Read the instructions on the right side of the screen and select Next.
In the pop-up window Importing existing resources, modify the JSON file content based on your resources information. Then select Import.
After the previous step is completed, follow the instructions described in the publish your bot section below to deploy your bot to Azure.
Hand off to an administrator
When you don't have proper permissions to use Azure or you want to generate resources from any other cloud service, you can ask an administrator to create the required resources on your behalf.
Select Hand off to admin. Read the instructions on the right side of the screen and select Next.
In the Add resources page, select the resources you want the administrator to provision. Select Next.
In the Share resource request page, copy the instructions and securely share them with your Azure admin. You'll need your Azure admin to run the provisioning command and create the resources for you.
Your Azure admin should securely send you back a JSON publishing profile file. Save it.
Follow the steps described in import existing resources and replace the content of the related JSON file with the content you saved, sent to you by the administrator.
The figure below shows the two phases of the hand off process. During the first phase, you prepare the hand off request and send it to an admin for provisioning resources in the cloud. After the resources have been provisioned, not shown in the figure, the admin sends back the related JSON publishing profile.
During the second phase, you use the received profile and import the provisioned resources by performing the steps described in import existing resources.
After the previous step is completed, follow the instructions described in the publish your bot section below to deploy your bot to Azure.
Publish your bot
Select Publish from the Composer menu. In the Publish your bots pane, select the bot to publish, then select a publish profile from the Publish target drop-down list.
In the Publish pop-up window, select Okay to start the publishing process. It will usually take a few minutes to complete. After the publishing process completes, you should see a Success message.
If you published a bot with LUIS data, you can view and access the published LUIS apps. LUIS apps in the LUIS portal are associated with the LUIS authoring resources you created in the Azure portal.
After publishing the bot with LUIS configuration to Azure, you'll see the published LUIS resources (both LUIS authoring resource and LUIS prediction resource) from the Azure portal as follows:
The LUIS authoring resource has an luis-authoring suffix. The LUIS authoring resource allows you to create, manage, train, test, and publish your LUIS applications. The LUIS prediction resource has a luis suffix. You use the prediction resource or key to query prediction endpoint requests. Read more in the Create LUIS resources article.
To view and access the LUIS apps from the LUIS portal, make sure you select the matching LUIS authoring resource as shown in your Azure portal.
Build end-to-end solutions in Microsoft Azure to create Azure Functions, implement and manage web apps, develop solutions utilizing Azure storage, and more.