HOW-TO App Registration

HOW-TO App Registration

Quote
Login to your Azure Portal
Quote
Search for App registrations
Quote
Select New registration

 Fill in Name
 Select Register

You will now see a page like this
Info
The Application (client) ID value will be used in SharePoint setup in Business Central.


 Save value as we are going to use it in Business Central
 Click on the "Add a Redirect URI" link

You will then see a page like this:

 Click on option
 Select Web option

You will then see a page like this:


 Select Configure

You will then see a page like this:

 Enter line as shown. Replace tenant ID with your Business Central tenant ID. Then select save.

Info
You can find your tenant ID from the URL in your browser. Looks like this:


THE APP IS NOW REGISTERED AND WE JUST NEED TO ADD PERMISSIONS
Quote
Select Certificates & secrets

 Select option
 Select New client secret

A new page will show:

 Enter a description
 Select from the list. In this example I select 730 days before the secret need renewal.

You will then see a page like this:


 Description as entered in the previous step
 This is the secret we are going to use in Business Central. Make a note of it!

Warning
Once you leave the page you can no longer see the value!
Quote
Search for API Permissions
You will the see a page like this:

Info
We are now going to add permissions for 
- Dynamics 365 Business Central
- Microsoft Graph
Click on Add a Permission


 First assign Dynamics 365 Business Central permissions
 The assign Microsoft Graph permissions

Info
When assigning permissions select Application permissions

The permissions should look like this:


Alert
Once permissions selected make sure to grant admin consent! 
Idea
YOU HAVE NOW COMPLETED APP REGISTRATION
Notes
UPDATE BUSINESS CENTRAL 


Enter values you saved during App registration.


 Now request Access Token from SharePoint
 Check that you have access to SharePoint

You should now see a page like this:

You can now select Site settings


Idea
YOU HAVE NOW COMPLETED SETUP

    • Related Articles

    • Setup Report Parameters

      In DocuSign Setup, Related, select DocuSign Report Parameters Select New Fill in with Report ID (this is an example for Sales Quote) Select OK and you will be prompted like this. Just click OK to accept. You will now return back to the list and it ...
    • Resolve Microsoft Graph authorization errors

      Authorization errors can occur as a result of several different issues, most of which generate a 403 error (with a few exceptions). For example, the following can all lead to authorization errors: Incorrect access token acquisition flows Poorly ...
    • Setup eSignature Integration in Sandbox

      In this article we are sharing the links to every step needed to setup your NAV SEAL DocuSign eSignature Integration in a Business Central Sandbox: Create a DocuSign Developer Account Find User ID and API Account ID Activate the NAV SEAL DocuSign ...
    • Register an application with the Microsoft identity platform

      For your app to use the identity and access management (IAM) capabilities of Microsoft Entra ID, including accessing protected resources, you must register it first. Then the Microsoft identity platform performs the IAM functions for the registered ...
    • Get access on behalf of a user

      To call Microsoft Graph, an app must get an access token from the Microsoft identity platform. This access token includes information about whether the app is authorized to access Microsoft Graph on behalf of a signed-in user or with its own ...