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

Sandeep Pawar 41 Reputation points
2021-09-29T15:27:52.957+00:00

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 Services
Azure Cloud Services
An Azure platform as a service offer that is used to deploy web and cloud applications.
512 questions
Azure Storage Explorer
Azure Storage Explorer
An Azure tool that is used to manage cloud storage resources on Windows, macOS, and Linux.
164 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 34,941 Reputation points Microsoft Employee
    2021-09-29T16:09:33.017+00:00

    @Sandeep Pawar 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.

    0 comments No comments

0 additional answers

Sort by: Most helpful