How do I use Azure AI Foundry with Power Automate

Carter, Winston 11 Reputation points
2025-08-12T07:16:13.6066667+00:00

I am tryign to use this connector: https://learn.microsoft.com/en-us/connectors/azureaifoundryinference/#create-a-chat-completion

But no matter what I do it returns an error:

 "error": {

            "code": "404",

            "message": "Resource not found"

        }

I can't find any documentation on how to properly set up the connection in Power Automate, and despite copy/pasting the Target URI, API Key, and model deployment name and model name exactly as they appear in the foundry, Power Automate spits out the error. I've seen contradictory information on exactly what the "Target URI" value should be, but no variation I've tried has worked. Ready to pull my hair out on this one, any help would be greatly appreciated, thank you.

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.