Azure-Samples / modern-data-warehouse-dataops

DataOps for the Modern Data Warehouse on Microsoft Azure. https://aka.ms/mdw-dataops.
MIT License
570 stars 451 forks source link

Parking_sensors - deployment to Azure failed. #360

Closed dmitribodiu closed 3 years ago

dmitribodiu commented 3 years ago

After executing deploy.sh, I received this error: ERROR: Error occurred in request., InvalidSchema: No connection adapters were found for 'C:/Program Files/Git/subscriptions/fdb69e38-5ba1-4a9f-a867-1de43543997e/resourceGroups/mdwdo-park-fkfkf-dev-rg/providers/Microsoft.Storage/storageAccounts/mdwdostordevfkfkf/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27Storage%20Blob%20Data%20Contributor%27&api-version=2018-01-01-preview'

MINGW64dProjectsdatawarehouse-importe2e_samplesparking_sensors

I didn't use dev containers

devlace commented 3 years ago

HI @dmitribodiu. This error looks like its related to the fact that you are running az cli using git bash: https://github.com/Azure/azure-cli/issues/16317

TLDR: the fix seems to be setting MSYS_NO_PATHCONV=1 and ensuring you have the latest az cli version.

dmitribodiu commented 3 years ago

Indeed, thanks a lot, it helped!