Azure Resources for Visual Studio Code (Preview)
View and manage Azure resources directly from VS Code.
Move to built-in VS Code authentication
The Azure Resources extension now uses the built-in VS Code Microsoft authentication provider to authenticate with Azure, and no longer depends on the Azure Account extension. This move increases the reliability of Azure authentication, especially when using a proxy.
How to Sign In
Sign in by selecting the "Sign in to Azure..." item in the Azure Resources view.
You can also sign in using the new "Azure: Sign In" command contributed by the Azure Resources extension. Note: make sure you don't mistake it for the old Azure Account "Azure: Sign In" command.
How to Sign Out
Sign out in the Accounts menu located in the bottom left of your VS Code window.
You can filter the displayed subscriptions just as before, by selecting the Filter icon on any subscription. Previously filtered subscriptions will not be migrated automatically.
The filtered subscriptions are stored in the new
Sign In to a Specific Directory/Tenant
Use the new "Sign in to Directory" command to sign in to directories that cannot be automatically authenticated to on initial sign in. This is useful for directories/tenants that require MFA. Executing this command will show a menu with a list of unauthenticated directories. If the list is empty, then sessions exist for each directory already.
Using Sovereign Clouds
To connect to a sovereign cloud, set the
Support for vscode.dev
The Azure Resources extension fully supports running on vscode.dev and github.dev. This means you can use the Azure Resources extension to manage your Azure resources directly from your browser! Note that this does not require the Azure Accounts extension and uses VS Code's built-in authentication provider.
Resource and Workspace views
Use the Resources explorer to create and manage Azure resources. Use the Workspace explorer to create files and deploy.
Change the way resources are grouped to fit your workflow.
View all of your recent activities and quickly access resources you've recently created in the Activity Log.
Create an Azure resource from your installed extensions directly in VS Code.
Install these extensions to enable additional resource-specific features.
VS Code collects usage data and sends it to Microsoft to help improve our products and services. Read our privacy statement to learn more. If you don’t wish to send usage data to Microsoft, you can set the