Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Using the Azure Open AI Proxy outside of a notebook

Some of you might want to use the Azure Open AI proxy outside of a notebook. Maybe in some custom code or in Powerautomate. 

It's easy, if you know the url...

 

1) use the correct url to post a chat completion request: https://polite-ground-030dc3103.4.azurestaticapps.net/api/v1/openai/deployments/gpt-35-turbo-16k/cha...

replace the model name with whatever one you want to play with. Careful, the /chat/ part of the url is paramount

2) add a header to the request: api-key

3) add your api key as the header value

4) construct the body using the messages syntax. a good example can be found here: https://microsoft.github.io/azure-openai-service-proxy/raw-api-access/chat-completion/

 

careful! the last link has an outdated url structure. make sure to use 

https://polite-ground-030dc3103.4.azurestaticapps.net/api/v1/openai/deployments/{model-name}/chat/completions

 

and voilla you can use the openai api also in other places like powerautomate 🙂

 

0 REPLIES 0

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Fabric Update Carousel

Fabric Monthly Update - October 2025

Check out the October 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.