APIM send-request to self

I had a scenario that required multiple send-requests to be executed inside a policy. One of the send-requests needed to be made to another API operation hosted on the same APIM instance. Using the FQDN resulted in a HTTP 404 not found response. The following can be used within a policy if you need to … Read more

Generate and cache OAuth 2.0 tokens using Azure API Management

Are you using Azure API Management to forward requests on to an external API service that requires OAuth tokens for authorization? In this post we will cover how you can use policy in APIM to automatically generate and cache OAuth 2.0 tokens and include the tokens in headers before forwarding requests to the backend. The … Read more

Secure a HTTP Triggered Power Automate Flow with OAuth

I needed to securely send data to a Dataverse environment in a client’s tenant from my Azure tenant. The target endpoint listening for HTTP requests to consume the data was a HTTP triggered Power Automate Flow. As HTTP triggered Power Automate Flow’s are natively exposed to the Internet, I needed to find a way to … Read more