One of the strongest, simplest, yet little used features of Azure APIM is throttling. Depending on your user base, the deployment of your APIM is inevitably based on some level of trust. But as we all know, once people get a taste of how great your code is, they are going to want it all … Read More
Category: Azure
Customing Your APIM Responses Part 2
In our previous post, we talked about how you can customize your APIM response by getting into the body and customizing your response object payload. But what if you wanted to get fancier and use custom Response codes and status reasons for what occurred? You can do this with APIM. In the below code snippet, … Read More
Customizing your APIM Responses
In our previous examples, we were connecting APIM to Dataverse to get data. That’s great, but what if when accessing that data, you don’t want to return everything to the user and/or you want to abstract the data source you are coming from? Within the Dataverse, the first step is to ensure the data you … Read More
Using Policy Fragments in Azure APIM
As you get further into APIM usage, your code will invariably become more and more complicated. It’s just the way it is – with greater code comes greater complexity. Policy Fragments are a great way to organize your code. At first glance, it can appear that they are building mini-abstracted policy functions, but it’s important … Read More
Using Azure Key Vault with Azure APIM
On of the great things in Azure APIM is that you can use Named Values to store configuration values for your policies in a central location. You can store these as plain text (not bad), Secrets (better), or have them managed separately in an Azure Key Vault (the best). I say the best for AZ … Read More
Filtering Data with APIM and Dataverse
In our previous post on setting up Dynamics/Dataverse to connect with Azure APIM, we looked at how to get data from Dynamics through APIM. That’s great, but what we’re trying to simplify for your users is how to filter data through a well-defined API. Going back to our Contact example, I’m going to create a … Read More
Adding Azure Key Vault Environment Variables to your Solution
When I was doing some early learning on Environment Variables, I came upon the inclusion of Azure Key Vaults within Environment Variables and wanted to dig into this more. If you haven’t seen this functionality, when you go and create a new Environment Variable in your solution you can select the source as an Azure … Read More
Building and Deploying your First Azure Function with Node.js
I’ve been writing Azure Functions for a while and working with Node and thought it was time I took the plunge to get both of them working together. To get started, you’ll want to have Node.js (because that’s what you’re building), VSCode (because that’s for coding), and the Azure Core Functions Tool Library (because that’s … Read More