Skip to main content

Posts

Showing posts from October, 2020

Update on Self-Signed Certificate Setup Process for NAV / Business Central

07/10/2020 - Update on Self-Signed Certificate Setup Process for NAV / Business Central As per my previous post on setting up NAVUserPassword hereReference: https://community.dynamics.com/nav/b/dynamicsnavcloudfronts/posts/how-to-login-windows-client-and-web-client-using-navuserpassword-authentication-in-microsoft-dynamics-navIf you have created a Certificate using the above PowerShell command and it gives error while starting the NAV / BC Instance with the error as follows:
*******************************************************Server instance: DynamicsNAV100 Tenant:  <ii>The service MicrosoftDynamicsNavServer$DynamicsNAV100 failed to start. This could be caused by a configuration error. Detailed error information: System.ArgumentException: It is likely that certificate 'CN=navision.southeastasia.cloudapp.azure.com' may not have a private key that is capable of key exchange or the process may not have access rights for the private key. Please see inner exception for detail…

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 …

Client Management in Business Central using AL Code

Introduction:Have you ever got into a requirement, where you are needed to actually execute the logic separately for different client types?

Well, this blog is just going to discuss the ClientType DataType and different ways of getting ClientTypes and how to use it in your code.

Pre-requisites:Microsoft Dynamics Business Central OnlineAL Language ExtensionVS Code References:https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/session/session-currentclienttype-methodhttps://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/session/session-defaultclienttype-methodhttps://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/clienttype/clienttype-option Demonstration:ClientType: In order to understand how to use ClientTypes, we need to understand what ClientTypes represents. ClientType is an Option based DataType introduced in Business Central. That is in order to get the value or us…

Announcement: Business Central(v17) - Wave 2 2020 Release is out

 Announcement: Business Central v17 - Wave 2 2020 Release is outIn order to sign-up for Business Central v17 -  Wave 2 2020
For Online Tenants refer the steps below:1. For existing subscription:
If you are an existing client, you can simply goto Business Central Admin Center > Create a Sandbox as per the screenshot below.After you have created a Sandbox, you can play around and check how the new features work.
In order to upgrade your Production to v17, go, and simply schedule your upgrade data and select the update window.

2. For existing new customers:
Whenever you sign-up for a Business Central Environment through https://trials.dynamics.com, you will by default receive the latest Wave 2 2020 Release signed up.

After the clicking 'Get Started' this you will receive the following screen
Although I didn't receive any issues with the US-based Office 365 account, I received the following error for India based Office 365 account.

I even checked the Admin Center and found that the…