Skip to main content


Showing posts with the label SSL

Expose Web Service using SSL in Business Central On-Premise

Introduction:I had a requirement where the Web Services / APIs in NAV and Business Central On-premise needed to be exposed outside the VM to be consumed by third-party applications.
Also, this blog is a continuation of my previous blogs on NAVUserPassword and Single Sign On(SSO)
In this blog, let us see how to expose the Webservice / API URLs outside the server and consume them. Pre-requisites:Microsoft Dynamics Business Central On-premiseStatic IP assigned to the ServerDNS configured with SSL or Self-signed certificate.Demonstration:1. Changes to Business Central On-Premise / NAV Administration Console: Inside the Administration Console, you need to make sure that either you Business Central already has a way to be authenticated with the DNS link that you have provided. You can refer to my blogs  NAVUserPassword and Single Sign On(SSO) for this
After that make sure you enable SSL and change the Base URL to '<https://YourDomain:Port/ServerInstance>'. Also, make sure to allow…

How to setup Single Sign-On(SSO) for Microsoft Dynamics Business Central(NAVISION ERP)

Introduction: In my previous blog on How to Setup NavUserPassword with SSL for Microsoft Dynamics Business Central, I have performed all the steps in such a way that it would perfectly fit with this blog to give you Single Sign-On(SSO) based access to Microsoft Dynamics 365 Business Central.
Pre-requisites:How to setup NAVUserPassword AuthenticationUnderstand how AzureAD Authentication worksMicrosoft Dynamics 365 Business Central On-PremiseBooks & References:
Demonstration:1. Preparation for SSO:
Perform all the steps for NAVUserPassword based authentication.
Refer here How to Setup NavUserPassword with SSL for Microsoft Dynamics Business Central

2. Connect your device to AzureAD:
Install Azure AD Module

After installation of Azure AD Module, in order to connect to Azure AD you will need to download the Azure Connect PowerShell.
Login to  Azure using …

How to Setup NavUserPassword with SSL for Microsoft Dynamics Business Central(NAVISION ERP)

Introduction: In this blog, I'm attempting to setup basic authentication like NavUserPassword for Business Central On-Premise.
NavUserPassword is an authentication system, where each user have their own UserID and password which is configured inside Business Central itself.
Pre-requisites:Microsoft Dynamics 365 Business Central On-PremiseDomain for your VMUnderstanding of Credential Types in Business CentralDemonstration:1. Setup DNS in Azure VM:
Go to your VM inside Azure to configure DNS.

2.  Create a Webserver Instance for Business Central:

3. Create a Self Signed Certificate or get an SSL from Domain provider:
Run the PowerShell script to create a self signed certificate

After creation/installation of Certificate,
right-click on the Certificate > All Tasks>Manage Private Keys > Add NETWORK SERVICE and allow access to all the users and copy the certificate to Enterprise Trust, Trusted People, Trusted Publisher and Trust Devices folder.

4. Change Credential Type and Adding …