question

SandeepPawar-0766 avatar image
0 Votes"
SandeepPawar-0766 asked Sumarigo-MSFT rolled back

In Azure How to get region information of storage account with REST API or using SDK with only account name and shared key?

I only have storage account name and shared key, how I can access region information of my storage account. I will not be having subscription id and I can not login.

azure-cloud-servicesazure-storage-explorer
5 |1600 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

Sumarigo-MSFT avatar image
0 Votes"
Sumarigo-MSFT answered Sumarigo-MSFT rolled back

@SandeepPawar-0766 Welcome to Microsoft Q&A Forum, Thank you for posting your query!

No it's not possible! In rest API, PowerShell, Cli, or SDK, You need subscription ID and resource group to find the region!

GET https://management.azure.com/`subscriptions/{`subscriptionId`}`/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}?api-version=2021-04-01

Storage Accounts - Get Properties

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


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


image.png (1.1 KiB)
5 |1600 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.