-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
In a fresh directory, I executed:
azd init -t azure-search-openai-demo
azd auth login
azd env set AZURE_OPENAI_CHATGPT_MODEL gpt-4
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_VERSION turbo-2024-04-09
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_CAPACITY 10
azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT_SKU GlobalStandard
azd env set AZURE_USE_AUTHENTICATION true
azd env set USE_USER_UPLOAD true
azd env set USE_CHAT_HISTORY_COSMOS true
azd env get-values
azd up
Results show resource creation went well, however, 'provision' step failed with error below:
(✓) Done: Resource group: rg-rag (1.558s)
(✓) Done: Storage account: stphvax5imnfirg (368ms)
(✓) Done: Storage account: userstphvax5imnfirg (731ms)
(✓) Done: Azure Cosmos DB: cosmos-phvax5imnfirg (836ms)
(✓) Done: Azure OpenAI: cog-phvax5imnfirg (1.054s)
(✓) Done: Azure AI Services Model Deployment: cog-phvax5imnfirg/chat (1.503s)
(✓) Done: Log Analytics workspace: log-phvax5imnfirg (1.13s)
(✓) Done: Azure AI Services Model Deployment: cog-phvax5imnfirg/embedding (3.078s)
(✓) Done: Search service: gptkb-phvax5imnfirg (2.162s)
(✓) Done: Application Insights: appi-phvax5imnfirg (1.792s)
(✓) Done: Portal dashboard: dash-phvax5imnfirg (250ms)
(✓) Done: Container Registry: ragacrphvax5imnfirg (12.075s)
(✓) Done: Document Intelligence: cog-di-phvax5imnfirg (48.193s)
(✓) Done: Container Apps Environment: rag-aca-env (20.942s)
| ==| Creating/Updating resources
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'aca-web-update' is not valid according to the validation procedure. The tracking id is '27ea26f0-a248-489b-9638-ceb121ce44db'. See inner errors for details.
ValidationForResourceFailed: Validation failed for a resource. Check 'Error.Details[0]' for more information.
ContainerAppSecretInvalid: Invalid Request: Container app secret(s) with name(s) 'azureclientappsecret, azureserverappsecret' are invalid: value or keyVaultUrl and identity should be provided.
TraceID: 72d93bba5d4aa17e0b7d414c5841b735