azure-search-openai-demo icon indicating copy to clipboard operation
azure-search-openai-demo copied to clipboard

unable to deploy openai

Open Haroon921 opened this issue 2 years ago • 7 comments

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I used the terminal to deploy it and I am getting an error for openai. Please see the screenshot below image

Any log messages given by the failure

{"code":"InvalidTemplateDeployment","message":"The template deployment 'openai' is not valid according to the validation procedure. The tracking id is '3cbbe259-cdeb-44c2-bb04-4c586e18f20b'. See inner errors for details.","details":[{"code":"ApiSetDisabledForCreation","message":"It's not allowed to create new accounts with type 'OpenAI'."}]}

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) Windows 11

azd version?

run azd version and copy paste here. azd version 1.0.1

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Haroon921 avatar Jun 03 '23 18:06 Haroon921

Even I am getting same error. It used to get deployed 10 days back, now it is not working. ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:

Deployment Error Details: InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is '41c93811-***'. See inner errors for details. ApiSetDisabledForCreation: It's not allowed to create new accounts with type 'OpenAI'.

jagdish-kumawat avatar Jun 05 '23 01:06 jagdish-kumawat

This could be because of not having access to Open AI in the subscription.

Please request access via https://customervoice.microsoft.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR7en2Ais5pxKtso_Pz4b1_xUOFA5Qk1UWDRBMjg0WFhPMkIzTzhKQ1dWNyQlQCN0PWcu

If you have access and still facing this, then am not sure - I have not faced such issue.

ArunEPRO avatar Jun 05 '23 09:06 ArunEPRO

I have access in the subscription. I am able to create manually. Even this solution was running 10 days back, now it has stopped working.

jagdish-kumawat avatar Jun 05 '23 09:06 jagdish-kumawat

I am also seeing this issue. First time trying so not sure if it was working at one time in our environment. I have a ticket in the MS for it.

EnduroRacer18 avatar Jun 05 '23 13:06 EnduroRacer18

I am also seeing same issue. It worked for me in the past

dishujindal avatar Jun 06 '23 20:06 dishujindal

I was able to deploy this by changing the region to East US. It seems, South Central US is removed for Azure Open AI. Found out by manually creating it. Earlier, South Central US was there.

jagdish-kumawat avatar Jun 08 '23 17:06 jagdish-kumawat

jagish... Thanks a Mil for the suggestion of moving off South Central!

robvet avatar Jun 22 '23 21:06 robvet

@pamelafox I am getting this on East US as well. Should we continue to retry with this region until it succeeds?

TroyHostetter avatar Aug 24 '23 12:08 TroyHostetter

I was able to successfully provision in East US, so if you are seeing an issue, that may be a permissions error in your account. Is your account enabled for OpenAI? Can you make a deployment in the OpenAI studio for EastUS?

pamelafox avatar Aug 24 '23 13:08 pamelafox

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

github-actions[bot] avatar Dec 22 '23 01:12 github-actions[bot]