Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sign in to Azure Account from VS Code

I have the latest version of Visual Studio Code 1.19.2. It's a clean installation.

I've installed Azure Extension Pack from Microsoft with Azure Account (0.2.2). But I am not able to sign in to my Azure subscription. When I type Azure: Sign In in the commands pallete (CTRL+Shift+P), it only shows Azure: Logging in... in the bottom purple line, but nothing happens. I am not signed in.

As far as I know it should open browser window with login screen, but it does not. My default browser is Edge, my operating system is Windows 10 Enterprise x64 1709 with all updates.

How to sign in to my Azure subscription?

like image 653
Bari007 Avatar asked Jan 16 '18 08:01

Bari007


2 Answers

For me I just copied the Azure tenant ID from the portal: Go to ActiveDirectoy in Azure then go to properties you'll see the tenant ID.

Now just paste the tenant ID in vscode: File->Preferences->Settings, then search for keyword "tenant" and add your Azure tenant id.

like image 57
Melchia Avatar answered Sep 22 '22 03:09

Melchia


For me I was confused by the message, it copies the code to your clipboard automatically, I'm just dumb..

like image 32
Markive Avatar answered Sep 20 '22 03:09

Markive



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!