-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Allow multiple AAD app connections in VS Code #240612
Comments
Can you tell me more about how you're requesting the sign in for each of these and what you see that leads you to be "unable to sign in"? You should be able to do this... so I'm trying to understand where this is going wrong. |
Thanks for the response. The sign ins are happening via a VS Code extension. The extension is trying to use the I'm guessing the reason is that I've already signed into my Microsoft account for the first AAD app, and the second one is attempting to reuse it, but it's failing because the scopes are different? |
If this extension wants to use two different accounts for these scopes, the should use either:
Or
Which will allow you to use a different account for that request |
Thanks Tyler for this explanation. |
This is possible but your app has to use the same client id & tenant... it can request other scopes or resources:
This will get you back 2 sessions. One using the ARM resource, the other a Graph resource. You should only get one auth prompt. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
I have 2 AAD apps with different permissions. I need to sign in to both apps on VS Code using the same credentials, however once I'm signed in with one, then I'm unable to sign in to the other application using the same credentials.
Is there already a way to sign in to multiple AAD apps with the same account, and if not, is this something that can be supported?
Thanks!
The text was updated successfully, but these errors were encountered: