Adding a Validate-JWT Policy to Azure API Management

In this post, we will look at how to add a Validate-JWT (JSON Web Token) policy to Azure API Management to secure your app services. First, let’s look at our setup. We have an Azure App Service called CarlODataCrud: And in Azure API Management we have an API set up that points to this app service: Let’s create an Azure App Registration. You can use an existing App Registration, or … Continue reading Adding a Validate-JWT Policy to Azure API Management

How to Get a Postman Bearer Token for Azure Resources

In this post, we will look at how to get a bearer token using Postman for connecting to Azure resources. First, let’s open Postman and create a new collection, then a new Request: Next, let’s create our request. The URL we will hit is in the format https://login.microsoftonline.com/{tenantid}/oauth2/token. To find your Azure tenant id, go to https://portal.azure.com and search for Azure Active Directory: Your tenant id is here: Now add that … Continue reading How to Get a Postman Bearer Token for Azure Resources

Using Kudu API and PowerShell to Deploy Azure App Services

In this post, we will look at how to use the Kudu API and PowerShell to deploy Azure App Services. This can be useful if you want to automate deployments rather than manually logging into the Kudu portal and performing deployments manually. Let’s assume in our example we are deploying between a DEV environment and a PROD environment. You may have more environments in the real world but this is … Continue reading Using Kudu API and PowerShell to Deploy Azure App Services

Creating an Azure Dashboard to Monitor App Services

In this post, we will look at how to create dashboards in the Azure portal so we can monitor the performance of app services. This is useful to ensure your apps are running smoothly and you can deal with any performance issues if they were to occur. First, let’s log into the Azure portal at https://portal.azure.com and in the top left click on Dashboard: We now see a tile below. … Continue reading Creating an Azure Dashboard to Monitor App Services

Configuring Virtual Applications with Azure App Services and APIM

In this post, we will look at how to configure virtual applications with App Services and API Management (APIM) in Azure. Let’s continue with the example here, where we created the CarlCRMAPI app service using .NET Core. Go to https://portal.azure.com and select the App Service. Then go to Configuration->Path Settings->Virtual Path: We see the path is set to wwwroot: Under Overview, stop the service: Let’s head over to Kudu: Go … Continue reading Configuring Virtual Applications with Azure App Services and APIM

How to Setup Conditional Access with MFA for Regular and Guest Users in Azure AD

Let’s look at how to set up conditional multi-factor authentication (MFA) in Azure AD. This is useful if you want to restrict certain users to use MFA in certain apps in your tenant. First, log into https://portal.azure.com and select Azure AD: Select Security: And select Conditional Access: We will create a new policy: Let’s give it a name, e.g. MFA Conditional Access Policy. We can select to include none, all … Continue reading How to Setup Conditional Access with MFA for Regular and Guest Users in Azure AD

How to Setup MFA in Azure AD

Multi-factor Authentication (MFA) is a useful feature of Azure Active Directory that helps secure resources. In this post, we will look at how to enable MFA in Azure AD. Log into https://portal.azure.com/ and select Azure Active Directory: Select Multi-factor authentication (you don’t need to select a user at this point): This takes us to the Multi-factor Authentication screen. Select a user you would like to enable MFA for. We will select … Continue reading How to Setup MFA in Azure AD

Use Visual Studio to Design Azure Logic Apps

In a previous post, we built an Azure Logic App that integrates with the Common Data Service. We designed the Logic App in the Azure Logic App Designer, which is a web-based app. We can also design Logic Apps in Visual Studio. I will show you how to do this in Visual Studio 2019. First, go to Extensions->Manage Extensions: Under Online, search for Azure Logic Apps Tools for Visual Studio … Continue reading Use Visual Studio to Design Azure Logic Apps

How to Create an Azure Logic App that Integrates with the Common Data Service

Some time back we looked at creating Azure Logic Apps for cloud integrations. In this post, we will look at how to create an Azure Logic App that performs Common Data Service functions based on Common Data Service events. We will create an Azure Logic App that, when an account is created in Dynamics 365 / Power Apps, we will also create a contact and assign that contact to the new account. Let’s … Continue reading How to Create an Azure Logic App that Integrates with the Common Data Service