Connect to Dynamics CRM from Azure Function
In today's blog, we'll connect to Dataverse using an Azure function that utilizes the.Net core 6.2 framework. The prerequisites are listed below. · Create a new Dynamics 365 application in Azure. · Make that the newly created Azure Function builds appropriately. · To establish a connection with the Dataverse, use this sample of code. Create a new Dynamics 365 application in Azure: We need to register the Dynamics 365 Web API on Azure and use it with an application user. This is particularly useful for those working with custom APIs in CRM. To achieve this, you will need the following components. · Azure portal access · Application user · CRM Admin user Log in to the Azure portal, search for " Microsoft Entra ID," and click on it. We need to select App registration. Fill in the required details and shown below the preferred options. I selected the first option, which is for sing