You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please provide us with the following information:
This issue is for a: (mark with an x)
This issue is for a: (mark with an x)
- [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
Configure the Semantic Kernel to use Azure OpenAI and Azure Cognitive Search with DefaultAzureCredential (via Azure.Identity library).
Set the following parameters:
Azure OpenAI:
Endpoint: https://.openai.azure.com/
Deployment Name:
API Version: 2023-05-15
Azure Cognitive Search:
Endpoint: https://.search.windows.net/
Search Index:
Attempt to invoke the chat completion operation using Azure OpenAI deployment.
Any log messages given by the failure
Microsoft.SemanticKernel.HttpOperationException: 'The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again.
Status: 404 (DeploymentNotFound)
ErrorCode: DeploymentNotFound
Content:
{"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again."}}
The deployment should be found, and the API should return a valid chat completion response.
OS and Version?
Windows 11
Versions
Mention any other details that might be useful
The deployment was created more than 5 minutes ago.
Verified that the deployment name, endpoint, and Azure subscription are correct.
Testing with Postman using DefaultAzureCredential (via an access token) works without issues.
Thanks! We'll be in touch soon.
The text was updated successfully, but these errors were encountered:
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
Content:
{"error":{"code":"DeploymentNotFound","message":"The API deployment for this resource does not exist. If you created the deployment within the last 5 minutes, please wait a moment and try again."}}
Headers:
Date: Fri, 15 Nov 2024 15:10:58 GMT
Connection: keep-alive
x-ms-client-request-id: 36192ffc-aba2-44b2-b7c8-3baccc61473b
apim-request-id: REDACTED
Strict-Transport-Security: REDACTED
X-Content-Type-Options: REDACTED
x-ms-region: REDACTED
Content-Type: application/json
Content-Length: 197
Expected/desired behavior
OS and Version?
Versions
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: