Closed yaowilli closed 3 months ago
Hi @yaowilli - Thanks for reaching out to us.
Can you please let us know more details on below points, while we are investigating this issue?
Hello
From: Roopan-Microsoft @.> Sent: Thursday, August 1, 2024 10:21 AM To: Azure-Samples/chat-with-your-data-solution-accelerator @.> Cc: Yao, William @.>; Mention @.> Subject: Re: [Azure-Samples/chat-with-your-data-solution-accelerator] Deployment failed (Issue #1195)
Hi @yaowillihttps://github.com/yaowilli - Thanks for reaching out to us.
Can you please let us know more details on below points, while we are investigating this issue?
— Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/issues/1195#issuecomment-2263575034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZAPQCPUC3GGJJAC2ZINFTDZPJU7JAVCNFSM6AAAAABLWXFCC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTGU3TKMBTGQ. You are receiving this because you were mentioned.Message ID: @.**@.>>
the error occurs during the execution of azd deploy inside azd up wrapper
Would you please have any suggestion ? This help page here is not helpful https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/common-deployment-errors
From: Roopan-Microsoft @.> Sent: Thursday, August 1, 2024 10:21 AM To: Azure-Samples/chat-with-your-data-solution-accelerator @.> Cc: Yao, William @.>; Mention @.> Subject: Re: [Azure-Samples/chat-with-your-data-solution-accelerator] Deployment failed (Issue #1195)
Hi @yaowillihttps://github.com/yaowilli - Thanks for reaching out to us.
Can you please let us know more details on below points, while we are investigating this issue?
— Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/issues/1195#issuecomment-2263575034, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZAPQCPUC3GGJJAC2ZINFTDZPJU7JAVCNFSM6AAAAABLWXFCC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRTGU3TKMBTGQ. You are receiving this because you were mentioned.Message ID: @.**@.>>
Any news on this topic, i am facing same issue when deploy the pack into our azure environment.
I was able to fix the issue
Hi @yaowilli What did you do to fix this Issue?
add the storage blob data contributor and storage data reader roles to the managed identity of the function app and ensure that when deploying solution you have in bicep file @allowed(['Enabled', 'Disabled']) param publicNetworkAccess string = 'Enabled'
Hi @yaowilli - do you fancy putting together a Pull Request and I will review
sure how ?
Hi, I am still getting this issue. I have tried to deploy using the one click deployment and it fails in the same place,
I can see the bicep file has been updated in the code, and I added the storage blob data contributor role for the storage account to the function app:
add the storage blob data contributor and storage data reader roles to the managed identity of the function app and ensure that when deploying solution you have in bicep file @Allowed(['Enabled', 'Disabled']) param publicNetworkAccess string = 'Enabled'
However when I redeploy this section it asks for the clientKey, which I thought was generated. Any ideas?
While deploying this accelerator (https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/blob/main/docs/LOCAL_DEPLOYMENT.md) performing a local deployment i am getting the following error which does not provide much details { 'code': 'DeploymentFailed', 'target': '/subscriptions/f413fa15-c612-4fd4-85e8-949dd818aeee/resourceGroups/rg-rg-ipas-002/providers/Microsoft.Resources/deployments/backend-qrwpczu6q6ozk', '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': 'BadRequest', 'target': '/subscriptions/f413fa15-c612-4fd4-85e8-949dd818aeee/resourceGroups/rg-rg-ipas-002/providers/Microsoft.Web/sites/backend-qrwpczu6q6ozk/host/default/functionKeys/clientKey', 'message': '{\r\n \'Code\': \'BadRequest\',\r\n \'Message\': \'Encountered an error (InternalServerError) from host runtime.\',\r\n \'Target\': null,\r\n \'Details\': [\r\n {\r\n \'Message\': \'Encountered an error (InternalServerError) from host runtime.\'\r\n },\r\n {\r\n \'Code\': \'BadRequest\'\r\n },\r\n {\r\n
\'ErrorEntity\': {\r\n \'Code\': \'BadRequest\',\r\n \'Message\': \'Encountered an error (InternalServerError) from host runtime.\'\r\n }\r\n }\r\n ],\r\n \'Innererror\': null\r\n}' } ]
instructions followed: https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator/blob/main/docs/LOCAL_DEPLOYMENT.md