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
377 stars 87 forks source link

First open of the application asks for re-authentication, yet I am still authenticated. #8305

Open RoryMcCrossan opened 3 days ago

RoryMcCrossan commented 3 days ago

Preflight Checklist

Storage Explorer Version

1.36.2

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20241029.2

Platform

Windows

OS Version

11

Bug Description

When I first open ASE I see the 'One or more accounts requires reauthentication' notification. This notification will stay until I follow the process to authenticate.

The issue is that I am clearly already authenticated. I have several 'Quick Access' links configured to table and blob storage containers which I can access freely, despite he ASE account manager telling me I need to re-auth.

I have double checked that the account which required authentication is the one related to the containers I am accessing, and it absolutely, 100%, is.

Steps to Reproduce

  1. Launch ASE
  2. Authenticate your account and access a container.
  3. Create a Quick Access item for that container.
  4. Close ASE and restart your machine.
  5. Launch ASE again.
  6. Notice the 'Reauth required' popup, but ignore it.
  7. Double click on the Quick Access item.

Actual Experience

I can access the content in the Quick Access link, despite the UI telling me my account need re-authentication.

Expected Experience

Either:

Additional Context

No response

craxal commented 2 days ago

@RoryMcCrossan Can you confirm which sign in method you are using?

@MRayermannMSFT Is it possible Storage Explorer account management could be giving false positives? I have encountered some situations where reauthentication notifications pop up more often than usual, possibly related to platform and/or sign in method. Not sure on the exact conditions or if it's related to this situation.

RoryMcCrossan commented 1 day ago

That would be my assumption too. As can be seen in this screenshot, the Account Management sidebar (along with the Authentication notification) is adamant that I am not authenticated to any tenant, yet as mentioned above, I can access table storage for all of those accounts absolutely fine as you can see data view in the main pane:

Image