-
Notifications
You must be signed in to change notification settings - Fork 498
Open
Description
When following the instructions in the "Automated deploy" in "Deploy the Azure Resources" section of the "Getting started" content to create Azure resources using deploy.sh, an error occurs during the AI Service creation.
As a prerequisite,
- Select Self-Guide Learners
- Running on GitHub Codespaces.
- My Azure subscription does not allow the creation of "Grounding with Bing Search".
Error
Deploying the Azure resources...
{
"id": "/subscriptions/1b3190c4-138d-4ddf-8b9c-832ec58ddf2b/resourceGroups/rg-agent-workshop",
"location": "eastus2",
"managedBy": null,
"name": "rg-agent-workshop",
"properties": {
"provisioningState": "Succeeded"
},
"tags": null,
"type": "Microsoft.Resources/resourceGroups"
}
WARNING: The configuration value of bicep.use_binary_from_path has been set to 'false'.
ERROR: {"code": "InvalidTemplateDeployment", "message": "The template deployment 'main' is not valid according to the validation procedure. The tracking id is 'ad82f2b4-9444-4aed-ade9-3eee08babde0'. See inner errors for details."}
Inner Errors:
{"code": "ApiPropertiesInvalid", "message": "The given 'apiProperties' 'statisticsEnabled' is invalid. Validation errors: Property 'statisticsEnabled' has not been defined and the schema does not allow additional properties. Path 'apiProperties.statisticsEnabled'."}
ERROR: Please provide a workspace name or use a MLClient with a workspace name set.
Error: discovery_url not found.
Suggestion for improvement
I was able to deploy successfully by removing lines 40-42 in basic-dependent-resources-keys.bicep.
This also allowed me to proceed with the Lab (however, Lab 4 has not been verified as "Grounding with Bing" cannot be created in my subscription).
Are lines 40-42 in basic-dependent-resources-keys.bicep necessary? If they are not required, I think it would be better to remove them.
The reason is that there's a high probability that many participants cannot create "Grounding with Bing Search" resources.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
