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

Unable to sign into Azure File Storage Explorer using credentials #8251

Closed kbhosarekar closed 3 weeks ago

kbhosarekar commented 1 month ago

Preflight Checklist

Storage Explorer Version

1.36.0

Regression From

No response

Architecture

x64

Storage Explorer Build Number

20241012.1

Platform

Windows

OS Version

Windows 11

Bug Description

{ "message": "\"WAM Error \n Error Code: 0 \n Error Message: ApiContractViolation \n WAM Error Message: Disallowed additional query parameter was used: 'domain_hint' \n Internal Error Code: 590899090 \n Possible causes: \n- Invalid redirect uri - ensure you have configured the following url in the application registration in Azure Portal: ms-appx-web://microsoft.aad.brokerplugin/e0001ebd-e920-49b8-a27e-92e573ec0af6 \n\"" }

Steps to Reproduce

  1. Launch Storage Explorer
  2. Sign in using Azure credentials.
  3. Select microsoft account, click next.
  4. Automatically signed in without being asked for a password.
  5. select unfilter after clicking on the gear icon in front of Default Directory

Actual Experience

I am unable to connect to Azure file storage through storage explorer. I've installed this on a new laptop and am trying to sign in. I clicked on sign in using Azure credentials, and selected my account; however, I wasn't asked for my password, and I automatically see that I am logged in. I am stuck in a constant loop of "reauthenticate now". Despite following troubleshooting options here: https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/blobs/alerts/storage-explorer-troubleshooting?tabs=Windows

Image

Expected Experience

I am hoping that I would be asked for my password and show up the storage accounts.

Additional Context

This is a new laptop that I am working on, and I've installed storage explorer for the first time.

illbegood73 commented 1 month ago

Exactely the same behaviour here, pls fix. Thank you.

Liandrel commented 1 month ago

Same here, trying to use Storage explorer first time and Im stuck in Authentication loop

kbhosarekar commented 1 month ago

Issue was automatically resolved after shutting down and turning on PC. No action needed.

ashwin-kambli commented 1 month ago

I am getting the same error. Restarting the PC did not resolve the problem for me.

sumo6161 commented 1 month ago

Any solution for this issue ? Using storage explorer for the first time and facing this issue .

jiahe620 commented 4 weeks ago

the solution below work for me, as my account login will need multi-factor authentication.

Under Settings (gear icon on the left) > Application, look for the Sign in with setting. Change option to "Integrated Sign-in" Then reauthenticate.

JasonYeMSFT commented 3 weeks ago

If you are still able to reproduce the issue, could you please do us a favor to turn on the verbose logging, collect the authentication logs and share the logs with us? The logs may help us locate the cause of the issue and make a fix.

Here are the steps to reproduce the issue and get the logs:

  1. Install Storage Explorer 1.36
  2. Ensure you are signed out, and that "Authentication Broker" is the value for the "Sign In with:" setting
  3. Follow these docs to gather authentication logs: https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/blobs/alerts/storage-explorer-troubleshooting?tabs=Windows#authentication-logs
    • Please clear out any existing logs from the logs folder if you can.
  4. Share your logs here!

To unblock you for now, you can

  1. Install Storage Explorer 1.36
  2. Change the value for the "Sign In with:" setting to be "Default Web Browser"

If you can help gather those logs, that'd be super helpful. Otherwise, let us know if switching back to "Default Web Browser" doesn't unblock you. Thanks!

craxal commented 3 weeks ago

Due to how widespread this issue is, we will be releasing 1.36.2 very soon to revert the default authentication method for Windows users.

For anyone having this issue, we invite you to do the following:

Help us diagnose

  1. Install Storage Explorer 1.36.x.
  2. Ensure you are signed out and that the "Sign in with:" setting is set to "Authentication Broker".
  3. Follow the troubleshooting docs to gather authentication logs.
  4. Please clear out any existing logs from the logs folder if you can.
  5. Share your logs by posting a comment in #8237!

Unblock yourself

  1. Install Storage Explorer 1.36.x.
  2. Change the value for the "Sign In with:" setting to be "Default Web Browser".
  3. Try signing in.

Thank you everyone for your patience and your help in diagnosing this issue!