Skip to content

Can't Create the Azure Bot resource #28587

@RandBuzieh

Description

@RandBuzieh

Describe the bug

I'm following the doc of "Provision and publish a bot" and in the step of "Create resources with ARM templates" I opened another doc "Use Azure CLI to create or update an Azure Bot resource" to follow but in the second doc the step "Create the Azure Bot resource" is giving errors.
I made a corebot on vs and hosting it locally on the emulator but Iam trying to deploy it in azure to connect it to another web application I made in vs by asp.net core mvc .

Related command

az deployment group create --resource-group testbot --template-file D:\y4t2\GP2\CoreBot1\DeploymentTemplates\DeployUseExistResourceGroup\template-AzureBot-with-rg.json --parameters "@d:\y4t2\GP2\CoreBot1\DeploymentTemplates\DeployUseExistResourceGroup\parameters-for-template-AzureBot-with-rg.json"

Errors

{"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/note I hide it /resourceGroups/testbot/providers/Microsoft.Resources/deployments/template-AzureBot-with-rg","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"InvalidBotData","message":"Bot is not valid. Errors: Display name is required. See https://docs.microsoft.com/azure/bot-service/bot-service-resources-bot-framework-faq?view=azure-bot-service-4.0 for detailed requirements."}]}}

Issue script & Debug output

{
"code": "DeploymentFailed",
"target": "/subscriptions//resourceGroups/testbot/providers/Microsoft.Resources/deployments/template-AzureBot-with-rg",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
"details": [
{
"code": "InvalidBotData",
"message": "Bot is not valid. Errors: Display name is required. See https://docs.microsoft.com/azure/bot-service/bot-service-resources-bot-framework-faq?view=azure-bot-service-4.0 for detailed requirements."
}
]
}

Expected behavior

Create the Azure Bot resource

Environment Summary

azure-cli 2.58.0

core 2.58.0
telemetry 1.1.0

Dependencies:
msal 1.26.0
azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\DELL.azure\cliextensions'

Python (Windows) 3.11.7 (tags/v3.11.7:fa7a6f2, Dec 4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions