Connect Storage Explorer to an Azure Stack subscription or a storage account

Applies to: Azure Stack integrated systems and Azure Stack Development Kit

Azure Storage Explorer is a standalone app that enables you to easily work with Azure Stack Storage data on Windows, macOS, and Linux. There are several tools available to move data to and from Azure Stack Storage. For more information, see Data transfer tools for Azure Stack storage.

In this article, you learn how to connect to your Azure Stack subscriptions and storage accounts using Storage Explorer.

If you haven't installed Storage Explorer yet, download and install it.

After you connect to an Azure Stack subscription or a storage account, you can use the Azure Storage Explorer articles to work with your Azure Stack data.

Prepare for connecting to Azure Stack

You need direct access to the Azure Stack or a VPN connection for Storage Explorer to access the Azure Stack subscription. To learn how to set up a VPN connection to Azure Stack, see Connect to Azure Stack with VPN.

For the Azure Stack Development Kit, you need to export the Azure Stack authority root certificate.

Export and then import the Azure Stack certificate

  1. Open mmc.exe on an Azure Stack host machine, or a local machine with a VPN connection to Azure Stack.

  2. In File, select Add/Remove Snap-in, and then add Certificates to manage My user account.

  3. Under Console Root\Certificated (Local Computer)\Trusted Root Certification Authorities\Certificates find AzureStackSelfSignedRootCert.

    Load the Azure Stack root certificate through mmc.exe

  4. Right-click the certificate, select All Tasks > Export, and then follow the instructions to export the certificate with Base-64 encoded X.509 (.CER).

    The exported certificate will be used in the next step.

  5. Start Storage Explorer, and if you see the Connect to Azure Storage dialog box, cancel it.

  6. On the Edit menu, point to SSL Certificates, and then select Import Certificates. Use the file picker dialog box to find and open the certificate that you exported in the previous step.

    After importing, you are prompted to restart Storage Explorer.

    Import the certificate into Storage Explorer

  7. After Storage Explorer restarts, select the Edit menu, and then ensure that Target Azure Stack is selected. If it is not selected, select it, and then restart Storage Explorer for the change to take effect. This configuration is required for compatibility with your Azure Stack environment.

    Ensure Target Azure Stack is selected

Connect to an Azure Stack subscription

Now you are ready to connect Storage Explorer to an Azure Stack subscription.

  1. In the left pane of Storage Explorer, select Manage Accounts.
    All the Microsoft subscription that you signed in are displayed.

  2. To connect to the Azure Stack subscription, select Add an account.

    Add an Azure Stack account

  3. In the Connect to Azure Storage dialog box, under Azure environment, select Azure or Azure China, which depends on the Azure Stack account that is being used, and then select Sign in. To sign in with the Azure Stack account that's associated with at least one active Azure Stack subscription.

    Connect to Azure Storage

  4. After you successfully sign in with an Azure Stack account, the left pane is populated with the Azure Stack subscriptions associated with that account. Select the Azure Stack subscriptions that you want to work with, and then select Apply. (Selecting or clearing the All subscriptions check box toggles selecting all or none of the listed Azure Stack subscriptions.)

    Select the Azure Stack subscriptions after filling out the Custom Cloud Environment dialog box

    The left pane displays the storage accounts associated with the selected Azure Stack subscriptions.

    List of storage accounts including Azure Stack subscription accounts

Connect to an Azure Stack storage account

You can also connect to an Azure Stack storage account using storage account name and key pair.

  1. In the left pane of Storage Explorer, select Manage Accounts. All the Microsoft accounts that you signed in are displayed.

    Add an account

  2. To connect to the Azure Stack subscription, select Add an account.

    Add an account

  3. In the Connect to Azure Storage dialog box, select Use a storage account name and key.

  4. Input your account name in the Account name, paste account key into the Account key text box, select Other (enter below) in Storage endpoints domain and input the Azure Stack endpoint.

    An Azure Stack endpoint includes two parts: the name of a region and the Azure Stack domain. In the Azure Stack Development Kit, the default endpoint is local.azurestack.external. Contact your cloud administrator if you’re not sure about your endpoint.

    Attach name and key

  5. Select Connect.

  6. After the storage account has successfully been attached, the storage account is displayed with (External, Other) appended to its name.

    VMWINDISK

Next steps