AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

Authentication error: undefined

Open JCKodel opened this issue 2 years ago • 6 comments

Preflight Checklist

Storage Explorer Version

1.21.3

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20211020.2

Platform

macOS

OS Version

macOS Monterey

Bug Description

After authentication, I open my subscription node, then try to open my Tables node, this error appears:

Authentication error: undefined

image

Steps to Reproduce

  1. Launch Storage Explorer
  2. Authenticate
  3. Open something in the explorer

Actual Experience

Authentication is bugged for years now.

Expected Experience

To actually work

Additional Context

No response

JCKodel avatar Nov 10 '21 22:11 JCKodel

By the way, the same error appears if I remove all accounts from Storage Explorer and then just attach my containers through their connection strings (copied from the portal.azure.com).

JCKodel avatar Nov 10 '21 23:11 JCKodel

@JCKodel are you able to access other resource types (blobs, files, queues) under the same storage accounts that are giving you issues? Are you using key or SAS connection strings? When you sign in, do you have access to account keys?

MRayermannMSFT avatar Nov 15 '21 18:11 MRayermannMSFT

@JCKodel are you able to access other resource types (blobs, files, queues) under the same storage accounts that are giving you issues?

No. I can't do anything.

Are you using key or SAS connection strings?

Connection strings

When you sign in, do you have access to account keys?

Sign in where? Azure Portal? I'm the only admin, so yes, I have access to anything.

I just need to sign in with my Microsoft Account, then it redirects me to Github login where I have to put a 20 character password and confirm a 2FA, then it goes back to Github again so I can repeat the last step, then it gives me an error telling my tenant doesn't exist on a company I worked 3 years ago and, when all this is done, a refresh usually let me in. Microsoft authentication at is best. (https://github.com/microsoft/AzureStorageExplorer/issues/3605#issuecomment-696458017)

JCKodel avatar Nov 15 '21 19:11 JCKodel

No. I can't do anything.

What errors do you see when accessing blobs/queues? Those feature sets have the most robust error reporting right now.

MRayermannMSFT avatar Nov 22 '21 18:11 MRayermannMSFT

No. I can't do anything.

What errors do you see when accessing blobs/queues? Those feature sets have the most robust error reporting right now.

See screenshot in the OP.

JCKodel avatar Nov 22 '21 18:11 JCKodel

@JCKodel I am fairly confident you would not see "Authentication error: <something>" when trying to access blobs or queues. That error message style is only active for tables and file shares in the version of Storage Explorer you are using.

  • Can you double check that's actually what you see when you expand the "Blob Containers" node? Maybe post a screenshot with more context of what is going on in the UI so we can make sure you and I are on the same page as to what is happening when you see the error?
  • Can you check that whatever auth method your connection strings are using is still valid?
    • If it is a key connection string, make sure that the key is still correct and has not been rotated and make sure that the account name is spelled correctly.
    • If it is a SAS connection string, make sure that the SAS has not expired and that any access policy for the SAS is still valid.

MRayermannMSFT avatar Nov 23 '21 18:11 MRayermannMSFT

Closing due to inactivity.

craxal avatar Mar 30 '23 22:03 craxal