Apr 15 2022 11:31 AM
Hi All,
I am trying to copy blob data from one Azure Subscription to another Azure Subscription using Azure CLI Bash for windows.
I am able to set the below ENVIRONMENT VARIABLES successfully
Set AZURE_STORAGE_ACCOUNT=<YourStorageAccount>
Set AZURE_STORAGE_ACCESS_KEY=<YourStorageAccessKey>
Issue 1:
However, when I am trying to create a container in the Azure Storage account as specified in the AZURE_STORAGE_ACCOUNT unable to do so using below command
az storage container create --name nyctaxi-staging
Meanwhile, Below command able to create container successfully by explicitly mentioning Azure Storage Account Name as an option
az storage container create --name nyctaxi-staging --account-name <YourStorageAccount>
Issue2: Unable to access the ENVIRONMENT VARIABLE values. Tried different option but none of the options are working
Please suggest how to get this resolved. Thanks
Regards
Vibhas Kashyap
Apr 18 2022 10:36 AM
Hello! You've posted your question in the Tech Community Discussion space, which is intended for discussion around the Tech Community website itself, not product questions. I'm moving your question to the Azure discussion space - please post Azure questions here in the future.
May 14 2022 12:23 AM