Skip to main content

Posts

Showing posts with the label WebClient

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 Online AL Language Extension VS Code References: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/session/session-currentclienttype-method https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/session/session-defaultclienttype-method https://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

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 Authentication Understand how AzureAD Authentication works Microsoft Dynamics 365 Business Central On-Premise Books & References: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/authenticating-users-with-azure-active-directory 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 Install Azure AD Module by running the command highlighted After installation of Azure AD Module, in order

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-Premise Domain for your VM Understanding of Credential Types in Business Central Demonstration: 1. Setup DNS in Azure VM: Go to your VM inside Azure to configure DNS. Click on Configure Put the URL as you need. 2.  Create a Webserver Instance for Business Central: New-NAVWebServerInstance to create a Web Server Instance Adding Web Server Instance with the name LS 3. Create a Self Signed Certificate or get an SSL from Domain provider: Run the PowerShell script to create a self signed certificate New Self-Signed Certificate New Self-Signed Certificate created After creation/installation of Certificate, righ