Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot update account credentials #97

Closed
vladbilyk opened this issue Apr 27, 2018 · 13 comments
Closed

Cannot update account credentials #97

vladbilyk opened this issue Apr 27, 2018 · 13 comments
Labels
🪲 bug Issue is not intended behavior ⚙️ sign-in Related to sign-in

Comments

@vladbilyk
Copy link

Storage Explorer Version:
1.0.0
OS Version:
Platform: macOS
Architecture: x64
Build Number: 20180415.2
Commit: 5d603052
Support Id: ca79a3ff-0016-7bd0-8f06-ea5fa1529f0b

Steps to Reproduce:

  1. I have 2 Azure accounts connected to the Storage Explorer (SE),
  2. Once, SE has started to asks to reenter credentials for both accounts.
  3. First account credentials was updated fine.
  4. For the second account SE constantly shows the error: Unable to sign-in: Duplicate query parameter 'prompt' in extraQueryParameters
    screen shot 2018-04-27 at 10 27 31

Expected Experience:
The second account credentials must be updated.

Actual Experience:
The second account credentials are outdated...

@craxal craxal added the ❔ more info More information is needed from issue author to proceed label Apr 27, 2018
@craxal
Copy link
Contributor

craxal commented Apr 27, 2018

1.0.0 introduced a new component for managing sign-in credentials. Can you try signing out of your accounts then signing back in?

@MRayermannMSFT
Copy link
Member

@vladbilyk , are you also using VS for Mac?

@vladbilyk
Copy link
Author

@craxal removing account and adding it back works fine... but I believe that second account was added on 1.0.0 version, anyway if the issue comes again I will inform you...

@MRayermannMSFT yep, I'm using VS for Mac

@craxal
Copy link
Contributor

craxal commented Apr 27, 2018

Awesome. If you encounter it again, we can reopen and investigate.

@craxal craxal closed this as completed Apr 27, 2018
@craxal craxal removed the ❔ more info More information is needed from issue author to proceed label Apr 27, 2018
@MRayermannMSFT
Copy link
Member

@vladbilyk , let me know if you run into the issue again. I know the cause and I know how to get you out of it. Thanks!

@mcetkovsky
Copy link

I have just run into the issue with an Azure AD account.
Unable to sign-in: Duplicate query parameter 'prompt' in extraQueryParameters

Version: 1.0.0

Platform: macOS
Architecture: x64
Build Number: 20180415.2
Commit: 5d603052
Support Id: cc1e9539-7af3-8377-627c-36d500960dc9

@MRayermannMSFT MRayermannMSFT added 🪲 bug Issue is not intended behavior ⚙️ sign-in Related to sign-in labels May 4, 2018
@MRayermannMSFT
Copy link
Member

Hi @mcetkovsky , do you have a ~/.IdentityService/aadconfiguration directory (my casing of the directories may be wrong)?

@mcetkovsky
Copy link

Yes, I do. I have just a single file Inside the directory, called AadConfiguration.lock.

@MRayermannMSFT
Copy link
Member

Hmmm that's odd. There should have been a configuration in there. Can you do following?

  1. Make a copy of ~/.IdentityService
  2. In the copied directory, remove any personal information you don't want people to see (should just be your email address in a few files, but double check if you'd like) from the files
  3. Zip the copied directory, and attach it to a new comment on this issue.

@mcetkovsky
Copy link

mcetkovsky commented May 4, 2018

I've removed names, e-mails, some tennant ids and logos.
IdentityService 2-1.zip

@MRayermannMSFT
Copy link
Member

Yep, ok, looks like at one point you did have an Aad Configuration that you used to add that account to VS for Mac. Simply remove the account using either Stg Exp or VS for Mac, and then re-add it using Storage Explorer. You should be able to use the account that is then added in both Stg Exp and VS for Mac.

@mcetkovsky
Copy link

That worked. However, the solution is not very self-discoverable :)

@MRayermannMSFT
Copy link
Member

Definitely not discoverable. I've added it to our known issues for the next set of release notes, so hopefully people see that. Our auth team is also working on a fix so this situation doesn't happen in the future. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪲 bug Issue is not intended behavior ⚙️ sign-in Related to sign-in
Projects
None yet
Development

No branches or pull requests

5 participants
@vladbilyk @craxal @mcetkovsky @MRayermannMSFT and others