How to query Azure OpenAI model in Power Automate

Iron Contributor



When I used the public OpenAI model, I do a POST to its endpoint URL, for example.


Then in the content type, I used key Content-Type=application/json and Authorization=Bearer "My OpenAI API Key".


Now I have created the Azure OpenAI resource and deployed my own GPT 3 model.

I see my endpoint URL, what about the rest?

Do I use the same format as


Authorization=Bearer "My Azure OpenAI API Key


I couldn't get it working and when using POSTMAN, it just says resource not found.


1 Reply
Make sure you have the model name/deployment as part of the request.