Been a little while since I last posted, but wanted to share with you a link to some exciting new features in CosmosDB around Date and Time System Functions. Enjoy!
Adventures with Azure ARM Templates: Create Logic App API Connection for Cosmos
With help from a teammate, I completed an ARM Template and PowerShell script to deploy a Cosmos API Connection for a Logic App to Azure. Thought I would share with everyone, in case you are curious on how to accomplish this. Download these two files and navigate to the directory and run the following script…
Adventures with Azure ARM Templates: Deployment Fails See inner errors for details
In my effort to get better with Azure ARM Templates I encountered the following error in one of my deployments:
1 2 3 |
Validation returned the following errors: The template deployment 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX' is not valid according to the validation procedure. The tracking id is 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'. See inner errors for details. |
To get a more verbose version of the error you can execute the following cmdlet: Make sure to include -Verbose otherwise you won’t get the details you need to troubleshoot the error. Navigate to…
Adventures with Postman: Dynamic Variables
Dynamic variables allow you to randomly generate values for your Postman requests, e.g. First Name and Company Name. Postman dynamic variables include: Common Text, Numbers and Colors Internet and IP Addresses Names Profession Phone, Address and Location Images Finance Business Catchphrases This is a fun one! Databases Dates Domains, Emails and Usernames Files and Directories…
Adventures with Azure: Regions
What is an Azure region? According to the docs, an Azure region is defined as a set of data centers deployed within a latency-defined perimeter and connected through a dedicated low-latency network. There is also an Azure geography which defines an area of the world containing at least one Azure region. And lastly, there are…
Adventures with Azure Functions: Blob Storage Triggers and Bindings
The docs are a little lite on examples of Azure Functions using Azure Storage Blobs, so I took a couple of hours and created a few more examples that I will share in this article. The code can be found at https://github.com/mattruma/MJR061. You will first want to create the resources in Azure, follow the instructions…
Adventures with Blazor: Login and Logout Events
Ever wanted to do something after a user logs in or logs out of your Blazor App? Surprisingly, it fairly simple to do. In VS Code I created a Blazor WebAssembly project that uses Azure ADB2C for authentication. Once scaffolded, I navigated to the Authenticate.razor page in the Pages folder. The RemoteAuthenticatorView component supports two…
Adventures with Logic Apps: Key Vault and Managed Identities
Trying use Key Vault and Managed Identities in your Logic App? Then check out this excellent article by Eldert Grootenboer at https://blog.eldert.net/retrieve-azure-key-vault-secrets-from-logic-apps-using-managed-identity/.
Adventures with Azure API Management: Add JSON Property in Set-Body
I have a policy on all my operations in Azure API Management to validate a JWT Token and extract the sub Claim, which I store in a userId variable that can be used in other policies. I have an operation called Organization Add that calls an Azure Function to add an organization to the database….
Adventures with Azure API Management: Shared Headers and Postman
I use Postman for testing my API calls to Azure API Management. In each of my requests I need to pass a Ocp-Apim-Subscription-Key header. In this header I provide my subscription key for my API provided by Azure API Management. Normally I would do this for each request. What if I need to change the…