question

MCMR-1355 avatar image
0 Votes"
MCMR-1355 asked ·

Azure permissions needed to get storage context

I have a runbook which tries to get a Storage Context with New-AzStorageContext but the variable keeps coming back empty. I've given the automation account's run as account storage blob data Owner, Storage Account Contributor, and Classic Storage Account Contributor roles on the subscription it's working in but it's made no difference. What permissions do you need to get a storage context? I can't find it documented anywhere.

azure-virtual-machines-storage
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

VaibhavChaudhari avatar image
1 Vote"
VaibhavChaudhari answered ·

You might not get the answer here quickly as this is Azure VM Storage forum.

Best would be to raise the same question on Azure Storage forum or Azure automation forum


· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.