To begin using ProcureDesk with Microsoft Business Dynamics, you must first set up an application in your Azure portal and provide access to the Dynamics API. Follow the steps below to complete the setup.
Step 1: Register the App
Login to Azure portal and navigate to "App registrations." You can type "App registrations" in the search box for quick access.
Click on New registration.
Fill in the application details:
The app is now registered.
Copy the Application ID from the landing page and save it in a separate document for future use.
Step 2: Configure Access
Return to App registrations and click on the application name (ProcureDesk).
Click on Certificates & secrets from the left-hand menu.
Click on + New client secret under the Client secrets section.
Add the name procuredesk and select 24 months in the Expires in option.
Copy the Secret ID and Secret Value and save them in a separate document for later use.
Step 3: Configure API Permissions
Navigate back to App registrations and click on the application name.
Click on API permissions from the left-hand menu.
Click Add a permission, and from the right-hand menu, select Dynamics 365 Business Central.
Add the required permissions.
Step 4: Configure Redirect URIs
Go back to App registrations and click on the application name.
In the Overview section, click on Add a Redirect URI.
Select Web from the right-hand side menu under Add a platform.
Add the following Redirect URIs:
https://myprocuredesk.com/configuration/ms_auths/callback
https://demo.procuredesk.com/configuration/ms_auths/callback
Click Configure to save the settings.
Setup Completion
Once the above steps are complete, your setup is done. Please send the following information to your account manager:
Client ID
Secret ID
Secret Value
Application Endpoints: You can find these under Endpoints after clicking on the application name. Copy the values of the following:
OAuth 2.0 authorization endpoint (v2)
OAuth 2.0 token endpoint (v2)