Skip to main content

Posts

Showing posts with the label Web Service Access

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…

Improvement to Web Service Access Keys in Business Central

Introduction:Today, I found something interesting in Business Central.When you open Users > Select User > Web Service Key Field, you will notice that it is either blank, has some value, or has a string of  '*' symbols Pre-requisites:Microsoft Dynamics 365 Business CentralDemonstration:1. When you open a current logged in User:
You will notice that the Web Service Key is <BLANK> if not configured. If the Web Service Key is configured then you will be able to find the key. You can triple-click to select the whole key. 

2. When you open a different User from currently logged in User:
You will notice that the Web Service for a different User will be '**************************' after version 16.5 and above. Which also means that even if you copy the Web Service Key to the clipboard you will receive the same '****************' character. Earlier this wasn't the case, instead, we were able to simply check the keys for different users as well.



Conclusion:I …