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

Can't "Sign in to Azure" using a separate account #12436

Closed
stokedout opened this issue Sep 23, 2024 · 4 comments
Closed

Can't "Sign in to Azure" using a separate account #12436

stokedout opened this issue Sep 23, 2024 · 4 comments
Assignees
Labels
needs more info Need user to provide more info TA:E2E Team Area: E2E

Comments

@stokedout
Copy link

stokedout commented Sep 23, 2024

Describe the bug

Nothing happens when I click "Sign in to Azure" in the extension panel. Or the button changes so that it's connected with the Microsoft 365 account signed in above it. There's also no option to sign out. I don't want to do this. I have a separate Microsoft 365 account from the Azure account therefore I need to log in to both independently.

To Reproduce
Steps to reproduce the behavior:

  1. Go to VS code
  2. Click on Teams Toolkit
  3. Click Sign in to Microsoft 365 with [email protected]
  4. Click Sign in to Azure - nothing happens unless I click the info circle at the side (later it shows the above account as the azure account)

Expected behavior

  • Sign in to Azure with an account of my choice via Teams Toolkit extension
  • Display a list of subscriptions under the signed in account to choose from via Teams Toolkit extension

Screenshots
image

VS Code Extension Information (please complete the following information):

  • OS: macOS Sonoma 14.4.1 (23E224)
  • Version v5.8.1

CLI Information (please complete the following information):

  • OS: n/a
  • Version n/a

Additional context

@microsoft-github-policy-service microsoft-github-policy-service bot added the needs attention This issue needs the attention of a contributor. label Sep 23, 2024
@adashen adashen added investigating TA:E2E Team Area: E2E labels Sep 24, 2024
@stokedout
Copy link
Author

There's also no option to sign it

Edit: I meant sign out

@HuihuiWu-Microsoft
Copy link
Contributor

Hi @stokedout

  • Could you help reload/restart VSC and see whether the issue persists?
  • Azure 'sign out' has been moved to 'Accounts' sidebar at left bottom of VSC. You could check your signed in Azure account there and select to sign out.

@HuihuiWu-Microsoft HuihuiWu-Microsoft added needs more info Need user to provide more info and removed investigating needs attention This issue needs the attention of a contributor. labels Sep 24, 2024
@stokedout
Copy link
Author

Thanks, I did what you suggested and it works. It's confusing that you can sign out of the Microsoft 365 account one way, and Azure another.

image

@HuihuiWu-Microsoft
Copy link
Contributor

Thanks @stokedout for your feedback. Azure sign out is moved to 'Accounts' sidebar since TTK is leveraging auth provided by VSC. I'll create an item to record your feedback and discuss with PM later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Need user to provide more info TA:E2E Team Area: E2E
Projects
None yet
Development

No branches or pull requests

3 participants