Share via

PowerShell and Storage account issues

Marius - Roma 416 Reputation points
2021-09-27T16:44:40.067+00:00

I have an MSDN Platforms Subscription and when I try to use PowerShell I get a message saying that I must create a storage.
If I try I get an error "Storage creation failed Error: 403".
On page https://learn.microsoft.com/en-us/azure/cloud-shell/troubleshooting I read that I should "Contact your Azure administrator to remove or update the Azure Policy assignment denying storage creation". Whate does it mean?
On other pages I read that I should create a dedicated storage account, but all my attemps failed.
What should I really do in order to use PowerShell?

Azure Storage
Azure Storage

Globally unique resources that provide access to data management services and serve as the parent namespace for the services.


Answer accepted by question author

Sumarigo-MSFT 47,511 Reputation points Microsoft Employee Moderator
2021-09-28T13:04:21.84+00:00

@Marius - Roma Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

The error indicates that you don’t have “read” permission " Also try to create Storage Account in cloud shell using Powershell or CLI "

Note: Please ask your administrator to grant you proper permission on this resource group.

How to fix Azure Cloud Shell error "MissingSubscriptionRegistration - The subscription is not registered to use namespace 'Microsoft.Storage'"

Create a storage account: https://learn.microsoft.com/en-us/azure/storage/common/storage-account-create?tabs=azure-portal

If the issue still persist, please share the screenshot of the error message I would like to work closer on the issue!

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

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

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

Was this answer helpful?


1 additional answer

Sort by: Most helpful
  1. Marius - Roma 416 Reputation points
    2021-09-29T09:02:10.083+00:00

    Many thanks again for your support.
    I solved the problem after reading the article on page https://learn.microsoft.com/en-us/azure/cloud-shell/persisting-shell-storage and creating a storage profile and a share in the same location as my resource group.
    Regards
    marius

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.