-
Notifications
You must be signed in to change notification settings - Fork 43
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
Tenant switching #29
Comments
Great question - the extension relies on the underlying system settings when it comes to identity. My go to approach is to use the |
I also confirmed that Creating and using the CLI is a good idea to realize this issue, and it allows execution in other IDEs or shells. The CLI command I hope:
|
Interesting idea!! I will label this as a feature request. |
vscode 1.93 added support for choosing accounts when getting a session |
I am stuck at this point now. I did my auth login for prompty, but it is not using my correct tenant. |
Ugh - I am sorry! In general the AOAI prompty executor uses the currently logged in tenant if the key is not specified. Usually something like:
sould fix the issue. You can also switch the tenant using:
Hopefully this works. |
Hi team,
I have joined multiple tenants. When I try to run a prompty file in VS Code, the default tenant is selected automatically.
However, the Azure OpenAI model I am trying to use is deployed in another tenant, so I cannot authenticate with AAD.
Is there any way to switch tenants when running a prompt or a workaround for this issue?
The text was updated successfully, but these errors were encountered: