How to Create and configure App registrations in Azure portal

How to Create and Configure App Registrations in Azure

  • Web app: Create a Web app in Azure Active Directory 
  • Generate secret: Collect the generated client information – Client Id, Client secret, Tenant Id & can use it in third party application & D365 
  • Enable ERP: Generate token using GET method 

Steps to be followed to Create and Configure App Registrations in Azure:

  1. Create a Web app: 

Step 1: Login to Azure Portal -> search “App registrations” & click new  

Step 2: Provide name & choose the required account types 

Step 3: Under URI Redirect option, select “Web” from the first dropdown field & provide D365 “URL/auth” in the next field. Then click “Register”. 

Create and Configure App Registrations in Azure

  1. Generate secret: 

Step 1: Choose Certificates & secrets under Manage, click new client secret, provide “Description & Expires” then click Add. 

Note: custom dates also given in the Expires field. 

Step 2: New client secret Id has been generated (Copy the Secret Id from below area)

Step 3: Go to overview & copy the Client Id & Tenant Id from below area 

  1. Enable ERP: 

Step 1: Select API permissions under Manage -> Click “Add a permission” -> Select Dynamics ERP 

Note: We can choose required external application, here we used Dynamics ERP. 

Step 2: Choose Delegate permission & select all the three permissions.

Step 3: Choose Delegate permission & select connector -> Add permissions.

Step 4: Select “Grant admin consent for Saina Cloud Software Solutions” & click Yes. 

Note: Only Admin can give this access, if you are not an Admin then you need to contact your admin person.