In this example we will create a custom connector for the Star Wars API, The first thing we need to do is create a connector for the Star Wars API. From the Power Apps Portal navigate expand the Dataverse menu and click Custom Connectors, then click New customer connector. Select Import an OpenAPI form URL….
Adventures with Logic Apps: Using Bicep to Deploy Logic Apps!
I have a fairly simple Logic App, messages are received from a Service Bus queue and an email is then sent using Send Grid. Pretty straight forward. Big believer in IaaC, so I wanted to create a deployment using Bicep for my Logic App and the Api Connections. My Service Bus connection uses a Managed…
Adventure with Azure: Cleaning House
My Azure subscription is out of control with resource groups, many of which I have no idea what they are even for?! What to do?! I just repaved my laptop, why not repave my Azure subscription?! I fired up my terminal and create a script to get the job done. Ran the script, and bingo,…
Adventures with APIM: Blazor WebAssembly CORS Issues
For the past couple of hours days I have been battling an issue 🤔 where my CORS policy in APIM did not seem to be working for my Blazor WebAssembly application. I thought I had my APIM policy correct, allowed-origins and allowed-methods looked good. Still was receiving the CORS issue?! 😤 Thought I had this…
Adventures with Azure APIM: C# In My Policy
I was asked by a customer recently on how to call a third-party API that required an MD5 hash to be included as a query string parameter from Azure API Management. I knew the answer was in policies but was not exactly sure how to do it. I also seemed to remember the Marvel API…
Adventures with the Power Platform: Handling Dataflow Upserts
I want to import data from an Excel workbook into my Power Platform Dataverse. To get started, I created a Table to hold the imported data. I added a single column called Name to my Table. I created my Dataflow, in my example, it was from an Excel file hosted in OneDrive. I followed the…
Adventures with Power Apps: Don’t Forget Those Pesky Table Permissions
I created my first Power App. The app, a canvas app, is supported by (2) tables in the Dataverse. The app manages meetings for an internal community. It allows members to sign-up to speak to the community on a topic relative to the community. I shared by app with my teammates, giving them all Basic…
Adventures with Blazor: Custom Markdown Component
I created a simple Blazor Markdown component, you can download it at NuGet Gallery | PhatBrainSoftware.MarkdownEdit 1.0.1. Below is a screenshot of the component in action. The code is at phatbrainsoftware/MarkdownEdit: Blazor markdown editor component. (github.com), feel free to fork and make some changes!
Adventures with Azure DevOps: Manual Validations
I wanted to test adding approvals to an Azure DevOps YAML pipeline, outside of Environment approvals. I created a project that contains the following files: deploy.bicep – Bicep template that will create a storage account in Azure. validate.ps1 – PowerShell script that mocks a validation stage, could be a what-if or some other validation. deploy.ps1…
Adventures with Azure: Doh! Built-in App Service Identity Provider Not Working!
In adding the built-in Authentication support to an Azure App Services, I ran into a challenge where I kept getting a 401 Status Code whenever I called an API endpoint. The first thing after setting up Azure Active Directory as my Identity Provider, I used Postman to call the oauth2 token endpoint to get a…