How to: Register Dynamics NAV in the Azure Management Portal

If you want to use services that are based on Microsoft Azure, you must register your Dynamics NAV in the Azure Management Portal. For example, the Sales and Inventory Forecast extension requires that you specify an API key and API URI, and other services require similar information. So where do you find that information?

You can use the Set Up Azure Management Portal guide to register Dynamics NAV in the Azure Management Portal and extract the information you need to use services such as the Sales and Inventory Forecast extension, Power BI, Microsoft 365, and so on. You must register in the Azure Management Portal only once, and you must be an administrator or superuser in Dynamics NAV.

The point of the registration is that Dynamics NAV and the service that you want to connect to must know the Azure Active Directory (Azure AD) details about each other.

To register Dynamics NAV in the Azure Management Portal

  1. Log in to the Azure Management Portal at https://portal.azure.com. If you are not familiar with the Azure Management Portal, you can find guidance in the Azure documentation library.
  2. In the left navigation pane, choose More services, and then choose App registrations.
  3. In the top menu, choose Add, and then, in the Create pane, fill in the fields with the following information:
    • Name: Specify a name for your Dynamics NAV solution, such as Dynamics NAV.
    • Application Type: Choose Web app* / API.
    • Sign-on URL: Enter the URL for your Dynamics NAV browser client, such as https://MyServer:8080/DynamicsNAV/WebClient/OAuthLanding.htm. The OAuthLanding.htm file is a file that helps manage the exchange of data between Dynamics NAV and other services through Azure AD.
  4. Choose the Create button. This adds your Dynamics NAV to the App registrations pane, so you can now add settings to it.
  5. In the App registrations list, choose your new app. If this does not open the Settings pane, you should see an action to open Settings.
  6. In the Settings pane, in the API Access section, choose Keys.
  7. In the Keys pane, specify a description and when you want to let the key expire, and then choose Save.
  8. Copy the generated key to a temporary location - you will need it in the next procedure.
  9. In the API Access section, choose Required Permissions.
    • Add delegated permissions to view all reports to the Power BI Service
    • Add delegated permissions to Sign In and read user profile to Windows Azure Active Directory
    • Repeat for other services that you want to grant access to your Dynamics NAV
  10. Close the Settings pane, and then, in the Essentials pane, copy the value of the Application ID to a temporary location.

You have now registered your Dynamics NAV in the Azure Management Portal, you have given access to the relevant services, and you have extracted the information that you need in Dynamics NAV.

To add the information to Dynamics NAV

  1. In the top right corner, choose the Search for Page or Report icon, enter Azure AD Application Setup Wizard, and then choose the related link.
  2. In the wizard, choose Next.
  3. In the Client ID field, specify the content that you copied from the Application ID field earlier.
  4. In the Secret Key field, specify the content that you copied from the Keys pane earlier.
  5. Choose Next. Unless you see an error message, you are now done.

Your Dynamics NAV is registered and ready to connect to services such as Cortana Intelligence and Power BI.

See Also

Dynamics 365 Business Central
Sales and Inventory Forecast
Set Up Your Dynamics NAV