Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authenticating my Azure account opens a localhost webpage with invalid security

I've been using Azure Storage Explorer for a few years without any problems. This morning I opened it and was told that I needed to reauthenticate, so I clicked the Reauthenticate now link.

This window opened...

enter image description here

At the same time a browser window opened with a URL which begins...

https://localhost:61204/?code=

... and this is displayed...

enter image description here

Is there anything I can do about this? How else can I reauthenticate?

UPDATE
It seems that this problem goes further than I previously thought: I also cannot login to the Azure CLI or run any Powershell scripts which require authentication. In all cases I'm presented with a webpage showing ERR_SSL_PROTOCOL_ERROR.

UPDATE 2
It looks like Firefox gives a bit more explanation of the problem:

enter image description here

Sure enough, if I change my default browser to Firefox then the process works.

like image 559
awj Avatar asked Dec 05 '25 10:12

awj


2 Answers

The following worked for me (across VS, Storage Explorer and the Az Cli):

For Edge, go to edge://net-internals/#hsts

for Google Chrome, go to chrome://net-internals/#hsts

Under Delete domain security policies, fill in localhost and click Delete

from https://github.com/Azure/azure-cli/issues/10426

like image 122
Classic Neil Avatar answered Dec 09 '25 21:12

Classic Neil


Use below steps:

Step 1: open azure storage explorer

Step 2: open settings of azure storage explorer and click on services

open settings of azure storage explorer and click on services

Step 3: Check for Sign With option and change the default web browser to integrated Sign in and then try to sign in

Check for Sign With option and change the default web browser to integrated Sign in and then try to sign in

like image 26
deepesh khurana Avatar answered Dec 09 '25 20:12

deepesh khurana



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!