Skip to content

0.8.0

Compare
Choose a tag to compare
@alexweininger alexweininger released this 16 Nov 20:18
· 49 commits to main since this release
018cfd0

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.

What's new?

How to Sign In

Sign in by selecting the "Sign in to Azure..." item in the Azure Resources view.

Note: sessions won't be migrated from Azure Account to the new built-in authentication. This means you will have to sign in once Azure Resources updates to v0.8.0.

image

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.

Screenshot 2023-11-16 at 12 18 05 PM

How to Sign Out

Sign out in the Accounts menu located in the bottom left of your VS Code window.

283537216-627e62aa-5216-431b-b061-e23732417aab

Filter Subscriptions

You can filter the displayed subscriptions just as before, by selecting the Filter icon on any subscription.

Screenshot 2023-11-16 at 12 13 12 PM

The filtered subscriptions are stored in the new azureResourceGroups.selectedSubscriptions setting. Previously filtered subscriptions will not be migrated automatically.

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.

Azure Account extension

The Azure Account extension will be deprecated in the future. Azure Account is used by many partner extensions still, so this will be a slow process. Our team will develop a deprecation plan and a reasonable date.

Until the Azure Account extension is removed as a dependency on all the Azure extensions, it will still be installed. However, it's no longer used by the extensions so signing in using the old commands will not work with the Azure Resources extension. For example, the "Azure: Sign in with Device Code", "Azure: Sign In", and "Azure: Sign Out" commands are all Azure Account specific commands, and are no longer integrated with Azure Resources.

image

Also, the Azure Account status bar may appear if another extension still uses Azure Account for authentication. Just know that this status bar item is no longer connected to Azure Resources, and won't reflect the authentication state of our extensions.

283535172-7512e376-686d-423d-94c3-557d889d4507