This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
This document details how to get started using Azure Cloud Shell.
Before you can use Azure Cloud Shell, you must register theMicrosoft.CloudShell resourceprovider. Access to resources is enabled through provider namespaces that must be registered in yoursubscription. You only need to register the namespace once per subscription.
To see all resource providers, and the registration status for your subscription:
Sign in to theAzure portal.
On the Azure portal menu, search forSubscriptions. Select it from the available options.
On theSubscriptions page, select your subscription.
On your subscription page, expandSettings in left menu and selectResource providers.
In theFilter by name... box, entercloudshell to search for the resource provider.
Select theMicrosoft.CloudShell resource provider from the provider list.
SelectRegister to change the status fromunregistered toRegistered.

LaunchCloud Shell from the top navigation of the Azure portal.
![]()
The first time you start Cloud Shell you're prompted to create an Azure Storage account for theAzure file share.

Select theSubscription used to create the storage account and file share.
SelectCreate storage.
Note
By following these steps, Cloud Shell creates a standard storage account and allocates 5 GB ofstorage for the file share. You can also create a storage account manually and specify thestorage account and file share to use. If you use a Premium storage account, Cloud Shellallocates 100 GB of storage for the file share.
Cloud Shell allows you to select eitherBash orPowerShell for your command-line experience.

List subscriptions you have access to.
az account listSet your preferred subscription:
az account set --subscription 'my-subscription-name'Tip
Your subscription is remembered for future sessions using/home/<user>/.azure/azureProfile.json.
Run the following command to see a list of all Azure CLI commands.
azRun the following command to get a list of Azure CLI commands that apply to WebApps:
az webapp --helpWas this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?