microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
364 stars 85 forks source link

Authentication failing #8017

Closed Ian-256 closed 1 week ago

Ian-256 commented 1 week ago

Preflight Checklist

Storage Explorer Version

1.34.0

Regression From

1.33.0

Architecture

x64

Storage Explorer Build Number

Unable to get just gives (Empty)

Platform

Windows

OS Version

windows 11 22H2 22621.3593

Bug Description

open Storage Explorer, all menus (File, Edit etc) say (Empty) image Click the user icon "Sign in with Azure" Azure next. just stops on "Your browser should now open and redirect you to a login page. Waiting for authentication..." nothing else. Also if you click the plug for a new connection select "Subscription" > Azure this does the same. I've uninstalled deleted all contents from AppData for it etc. still the same.

Steps to Reproduce

Click the user icon "Sign in with Azure" Azure next. just stops on "Your browser should now open and redirect you to a login page. OR Also if you click the plug for a new connection select "Subscription" > Azure

Actual Experience

open Storage Explorer, all menus (File, Edit etc) say (Empty) image Click the user icon "Sign in with Azure" Azure next. just stops on "Your browser should now open and redirect you to a login page. Waiting for authentication..." nothing else. Also if you click the plug for a new connection select "Subscription" > Azure this does the same. I've uninstalled deleted all contents from AppData for it etc. still the same. image

Expected Experience

Should open browser and allow MFA / Sign in.

Additional Context

No response

craxal commented 1 week ago

@Ian-256 Sometimes it takes a few seconds for everything in Storage Explorer to initialize, including the menus. Can you try waiting a few seconds for the menus to populate and then try signing in? If that doesn't work, can you please share the app and the authentication logs?

santoshgshet commented 1 week ago

Hello all, I am facing the same issue and not able to login after upgrading the storage explorer version. It is stuck on waiting for authentication or the default browser option doesn't open the browser at all.

Ian-256 commented 1 week ago

HI, Ive left this opening for about 15mins come back to it and it has timed out and does ask if you want to retry. Click retry and it waits another 15mins or so.

Ian-256 commented 1 week ago

After a lot of diffing, I've managed to resolve the issue. when logging I noticed sometimes I get a .net 8 error. Event ID1023... Description: A .NET application failed. Application: Microsoft.ServiceHub.Controller.exe I've basically removed .net 8 and reinstalled it (redownloaded it) rebooted tested storage explorer and its all working.