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

Account create error #38

Closed
Sidzeppelin95 opened this issue Nov 29, 2023 · 1 comment
Closed

Account create error #38

Sidzeppelin95 opened this issue Nov 29, 2023 · 1 comment

Comments

@Sidzeppelin95
Copy link

I am trying to access the open ai after creating the resource group and subscription resource for open ai api but an error occurs in the subscription area where it does not recognize the subscription provided. When I looked at the documentation, it does not show the command to enter the subscription but in the training for openai the command is different. Please suggest!
image

@codemillmatt
Copy link
Contributor

Hi @Sidzeppelin95 - are you using the proxy we're providing? If so, then you don't have to create an AOAI resource.

But if you do want your own AOAI resource - in that command, you can skip the --subscription option altogether and it'll use your default subscription to create the resource on.

Or - put single quotes around the subscription name.

Or, you could enter az account list and you'll then see a bunch of subscriptions that you have access to. Assuming you have permissions to create resources on the subscription you want to use - you can swap to it by using az account set -s <NAME OR ID OR SUBSCRIPTION

Probably more info than you were after, but I hope it helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants