Closed ebclark2 closed 1 week ago
@ebclark2 Thanks for creating the issue. Does this scenario work if you use the Azure OpenAI SDK directly?
No, it does not. I was able to confirm the problem is the token scope. It works if I build a new version of the openai SDK with the correct scope.
On Wed, May 15, 2024, 4:08 AM Mark Wallace @.***> wrote:
@ebclark2 https://github.com/ebclark2 Thanks for creating the issue. Does this scenario work if you use the Azure OpenAI SDK https://www.nuget.org/packages/Azure.AI.OpenAI/1.0.0-beta.17 directly?
— Reply to this email directly, view it on GitHub https://github.com/microsoft/semantic-kernel/issues/6255#issuecomment-2111848927, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGIEZB7ED6272W4UQA64RDZCMJYBAVCNFSM6AAAAABHWQFPAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJRHA2DQOJSG4 . You are receiving this because you were mentioned.Message ID: @.***>
This issue is stale because it has been open for 90 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Describe the bug OpenAI token authentication fails in AzureUSGovernment cloud with invalid token/audience error.
To Reproduce In AzureUSGovernment configure OpenAI Auth type to "AzureIdentity" and provide a valid idenitty.
Expected behavior OpenAI calls authenticate successfully.
Screenshots![image](https://github.com/microsoft/semantic-kernel/assets/819812/87e2cd1d-f676-48b4-a85f-d444a14c8925)
Platform
Additional context See OpenAIClient Issue