It seams that the request to Azure are sent without Bearer authentication, for embedding I get:
Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource.
No errors using postman instead..
Is it a bug or a missing implementation? I already set spring.ai.azure.openai.api-key with the bearer token value, without effect..
Comment From: williamspindox
https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#authentication