Open
Description
When I tried to deploy the repo using git codespaces, I got the following error when I ran bash ./infra/scripts/process_sample_data.sh
I executed the following commands in orde
az login
azd auth login
azd up
output
Provisioning Azure resources can take some time.
Subscription: ME-MngEnvMCAP444381-manuchadha-1 (438ab7fd-ee19-48f6-afd2-cce13a228003)
Location: East US 2
You can view detailed progress in the Azure Portal:
https://portal.azure.com/#view/HubsExtension/DeploymentDetailsBlade/~/overview/id/%2Fsubscriptions%2F438ab7fd-ee19-48f6-afd2-cce13a228003%2FresourceGroups%2Frg-custmeetgit%2Fproviders%2FMicrosoft.Resources%2Fdeployments%2Fcustmeetgit-1750662807
(✓) Done: Key Vault: kv-caqdja4iqe33w5 (23.229s)
(✓) Done: Azure Cosmos DB: cosmos-caqdja4iqe33w5 (1m9.6s)
(✓) Done: Storage account: stcaqdja4iqe33w5 (22.916s)
(✓) Done: Application Insights: appi-caqdja4iqe33w5 (19.139s)
(✓) Done: Log Analytics workspace: log-caqdja4iqe33w5 (16.389s)
(✓) Done: Azure AI Services: aif-caqdja4iqe33w5 (1m17.279s)
(✓) Done: Azure AI Services Model Deployment: aif-caqdja4iqe33w5/text-embedding-ada-002 (1.455s)
(✓) Done: Azure AI Services Model Deployment: aif-caqdja4iqe33w5/gpt-4o-mini (423ms)
(✓) Done: Azure SQL Server: sql-caqdja4iqe33w5 (1m35.406s)
(✓) Done: Search service: srch-caqdja4iqe33w5 (5m44.814s)
(✓) Done: App Service plan: asp-caqdja4iqe33w5 (8.233s)
(✓) Done: App Service: app-caqdja4iqe33w5 (23.055s)
Web app URL:
https://app-caqdja4iqe33w5.azurewebsites.net
Run the following command in your Bash terminal. It will grant the necessary permissions between resources and your user account, and also process and load the sample data into the application.
bash ./infra/scripts/process_sample_data.sh
Deploying services (azd deploy)
SUCCESS: Your up workflow to provision and deploy to Azure completed in 8 minutes 6 seconds.
@manuchadha1979 ➜ /workspaces/Build-your-own-copilot-Solution-Accelerator (main) $ bash ./infra/scripts/process_sample_data.sh
Running add_cosmosdb_access.sh
Already authenticated with Azure.
Getting signed in user id
Checking if user has the Cosmos DB Built-in Data Contributor role
User does not have the Cosmos DB Built-in Data Contributer role. Assigning the role.
Cosmos DB Built-in Data Contributer role assigned successfully.
add_cosmosdb_access.sh completed successfully.
Running copy_kb_files.sh
Script Started
Already authenticated with Azure.
Getting signed in user id
Getting storage account resource id
/opt/az/lib/python3.12/site-packages/azure/multiapi/storagev2/fileshare/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
Checking if user has the Storage Blob Data Contributor role
User does not have the Storage Blob Data Contributor role. Assigning the role.
Role assignment completed successfully.
Role assignment verified successfully.
Archive: infra/data/clientdata.zip
inflating: infra/data/clientdata/Assets.csv
inflating: infra/data/clientdata/AccountDetails.csv
inflating: infra/data/clientdata/CalendarData.csv
inflating: infra/data/clientdata/ClientFutureMeetings.csv
inflating: infra/data/clientdata/ClientInvestmentPortfolio.csv
inflating: infra/data/clientdata/ClientMeetingsMetadata.csv
inflating: infra/data/clientdata/Clients.csv
inflating: infra/data/clientdata/ClientSummaries.csv
inflating: infra/data/clientdata/InvestmentGoals.csv
inflating: infra/data/clientdata/InvestmentGoalsDetails.csv
inflating: infra/data/clientdata/Retirement.csv
Archive: infra/data/clienttranscripts.zip
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_0153aa9d-cd98-469e-b249-2b5c932d50af.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_22444db2-b403-411f-8081-56319ed83b7f.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_38d5a76c-93b2-4606-b073-68aba59758db.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_41634b5d-491a-47d7-a558-c27ed729c1c8.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_43160db1-330f-4302-accf-2bef0037225f.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_5f1768ce-74f0-47bb-817f-7260b79bb66a.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_79d45fd7-8593-4496-8100-98d9bf217134.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_8818720a-b96e-4124-8cfa-f3045ebc37a5.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_9e694b2e-cc03-4468-a64c-0e57c472ea53.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_c04256b8-47d3-4b55-94a0-0970f109a534.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_d0fab30f-e476-47d5-8fdb-895ec5ce00c5.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_ea4d5d86-455b-471b-9792-69970564184b.json
inflating: infra/data/clienttranscripts/meeting_transcripts/convo_efc430ab-261a-4add-97b6-717115b2874a.json
inflating: infra/data/clienttranscripts/meeting_transcripts_metadata/transcripts_metadata.csv
/opt/az/lib/python3.12/site-packages/azure/multiapi/storagev2/fileshare/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
You do not have the required permissions needed to perform this operation.
Depending on your operation, you may need to be assigned one of the following roles:
"Storage Blob Data Owner"
"Storage Blob Data Contributor"
"Storage Blob Data Reader"
"Storage Queue Data Contributor"
"Storage Queue Data Reader"
"Storage Table Data Contributor"
"Storage Table Data Reader"
If you want to use the old authentication method and allow querying for the right account key, please use the "--auth-mode" parameter and "key" value.
/opt/az/lib/python3.12/site-packages/azure/multiapi/storagev2/fileshare/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
__import__('pkg_resources').declare_namespace(__name__)
You do not have the required permissions needed to perform this operation.
Depending on your operation, you may need to be assigned one of the following roles:
"Storage Blob Data Owner"
"Storage Blob Data Contributor"
"Storage Blob Data Reader"
"Storage Queue Data Contributor"
"Storage Queue Data Reader"
"Storage Table Data Contributor"
"Storage Table Data Reader"
If you want to use the old authentication method and allow querying for the right account key, please use the "--auth-mode" parameter and "key" value.
Error: copy_kb_files.sh failed.
@manuchadha1979 ➜ /workspaces/Build-your-own-copilot-Solution-Accelerator (main) $
Metadata
Metadata
Assignees
Labels
No labels