Using the Developer Portal (Legacy) in Azure API Management

In this post, we will look at the Developer Portal (Legacy) for Azure API Management. Browse to your APIM in Azure and click on the link: On selecting this, we get to a developer portal: We see our APIs. Select one: We see our operations. Select one and click Try It: We can select a Subscription Key and click Send to send a request: We get a 200 Response back. … Continue reading Using the Developer Portal (Legacy) in Azure API Management

Using Products in Azure API Management

In this post, we will look at using Products in API Management. Products let you “group APIs, define terms of use, and runtime policies”. To use products, go to APIM and select Products: We see 2 products – Starter and Unlimited: If we open Starter, we see this product has a rate limit of 5 calls per 60 seconds: The Unlimited policy does not contain this: Let’s create a new … Continue reading Using Products in Azure API Management

Using Postman to Hit an API Management Endpoint with Subscription

In our previous posts, we created an App Service and an API Management in Azure. Let’s now use Postman to send a request to the Azure API Management endpoint. Go to the APIM and select the API. Under Settings, copy the Base URL: Now, in our case, we have /api/Customers to get all customers: So our URL is https://crmdevapim.azure-api.net/api/customers. Let’s open Postman and create this request. Click Send: We get a … Continue reading Using Postman to Hit an API Management Endpoint with Subscription

Backend service URL is not defined in Azure App Service

In this post, we will look at the error “Backend service URL is not defined” when making a request to an ASP.NET Web API through API Management. I have a .NET Core Web Api with Swashbuckle / Swagger. The Web Api is published to an Azure App Service, and an Azure API Management has this API loaded. We can run a test message using the APIM: We get a 500 … Continue reading Backend service URL is not defined in Azure App Service

Adding Swagger OpenAPI to an ASP.NET Web API

In this post, we will add Swagger OpenAPI to an ASP.NET Web API project. Swagger OpenAPI is a way to document the capabilities of your API. We can do this in .NET by adding the Swashbuckle NuGet package. Let’s continue with our Web Api project we created earlier. We will open the project in Visual Studio and add the Swashbuckle.AspNetCore package: Click OK: Now open Startup.cs and go to ConfigureServices: We … Continue reading Adding Swagger OpenAPI to an ASP.NET Web API

How to Add API Management (APIM) to an Azure App Service

In this post, we will look at how to add Azure API Management (APIM) to an Azure App Service. We will follow on from our previous post where we created an Azure App Service. There are a couple of ways to create an APIM. First, browse out to your App Service. We will use the one we created earlier using ASP.NET Core. Under API, select API Management: Click Create New: … Continue reading How to Add API Management (APIM) to an Azure App Service

Dynamics 365 Conditional Branching in Business Process Flows

In this post, we will look at how conditional branching works with Business Process Flows in Dynamics 365. Let’s create a new BPF: We will call it Account Conditional Flow, and run it on the account entity: Let’s create a new Stage. Rename it to Stage1: And we will create add a new condition by clickind Add Condition, then selecting the + sign next to the Stage: We see our … Continue reading Dynamics 365 Conditional Branching in Business Process Flows

Calling a Dynamics 365 Action from JavaScript using Xrm.WebApi.online.execute

In this post, we will continue with our example of calling a Dynamics 365 action from JavaScript, this time using the Xrm.WebApi. In the previous example, on saving a case, we would call an action to send an email to a developer if the title of the case contained the word “bug”. The action would accept 2 inputs, a “to” user and a “from” user to send the email to … Continue reading Calling a Dynamics 365 Action from JavaScript using Xrm.WebApi.online.execute

Translating and Renaming Dynamics 365 Artifacts into Other Languages

In this post, we will look at how to translate and rename Dynamics 365 artifacts for other languages or for localized meanings. For example, let’s say Dynamics 365 is running Spanish, and we see the words Cuentas and Cuenta for customers: Let’s say we want this to say Clients and Client instead (not Spanish but let’s use it for the demo). In Customizations, create a new solution and add the … Continue reading Translating and Renaming Dynamics 365 Artifacts into Other Languages

How to Install Languages in Dynamics 365

To install languages in Dynamics 365, go through the following steps. First, go to Settings->Administration and select Languages: You will see a list of languages. Let’s install Spanish, by selecting it: You will see “This operation will either enable or disable the selected languages for your Organization.” Click OK: You will see below. This may take some time to complete: Once complete, the language will show as Enabled: Go to … Continue reading How to Install Languages in Dynamics 365