Unable to create multiple container in storage account

Anand Malaviya 41 Reputation points
2021-12-13T08:30:40.767+00:00

facing such error while creating multiple container.

157059-image.png

dont know how to pass context.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,517 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,441 Reputation points
    2021-12-13T09:17:00.48+00:00

    Try using New-AzStorageContext - This command will set the context for storage account name you pass to this command

    https://learn.microsoft.com/en-us/powershell/module/az.storage/new-azstoragecontext?view=azps-7.0.0

    ----------

    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav

    0 comments No comments

  2. Sumarigo-MSFT 42,516 Reputation points Microsoft Employee
    2021-12-14T05:59:36.347+00:00

    @Anand Malaviya Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    157366-image.png

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 157368-image.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments