Skip to main content

Posts

Showing posts from 2020

Resolving The tenant 'default' is not accessible error or Regenerating new symbols for Business Central On-Premise for customised Database

Problem Statement:Disclaimer:  This blog is only applicable for Business Central On-Premise Version. If you are stuck in the same issue, try this at your own risk. 
I had installed Business Central v14 (Spring 2019) On-Premise with LS Retail. In this, Business Central comes with a ready made setup to connect with VS Code. As I restored the DB given by LS Retail, I could no longer connect to VS Code. This could be a potential case of Running C/SIDE and AL Side-by-side or customising on top of LS Retail.

Despite all the configurations being correct in project's app.json and launch.json, I could no longer connect to Business Central, I couldn't download any Symbols and I couldn't publish any Extension to Business Central.

I checked all BC Administration setup for Development and it seemed to be perfectly fine. I had Enabled Development Endpoint,  Development Endpoint Port was 7049Target was set to Internal, Enable Debugging was Enabled.
I checked my Permissions were set to SU…

Changes to authenticating AL Language Extension in VS Code Development Environment for Microsoft Dynamics 365 Business Central

Introduction: As I upgraded my Business Central AL Language Extension and VS Code, I noticed that I was no longer authenticated to deploy my app to Business Central Sandbox using (Ctrl + F5)
So I noticed a process change in authenticating VS Code and Business Central and you will find the details below.
Pre-requisites:Microsoft Dynamics 365 Business Central v15 SandboxVS CodeAL Language 5.0.254558 Demonstration: After running AL : Clear credentials cache, I tried AL: Downloading the Symbol
VS Code will give you a Pop-Up to Open the Window. Make sure you copy the code and click on Copy & Open
Once you click on Copy & Open, it opens a browser window

Insert the code that you copied from VSCode and click Next.
This will open the Login page with your accounts to select.


After this you will get a Message on the Browser and your Symbols will start Downloading in VS Code.



Conclusion: This is simply a process change for authentication observed after updating the AL Language Extension.

I ho…

Business Central Wave 1 2020 (version 16) Release is officially out!

Introduction: Business Central Wave 1 2020 (version 16) Release is officially out!
Let us see how to set it up!

Pre-
requisites:Microsoft Dynamics Business Central Online SubscriptionAccess to Admin CenterProcedure: Go to Business Central Admin Centre > Environments > New

Give Sandbox Name, Select Country and Version as 16.
After Sandbox is deployed, you can go to Setup and Extensions > Extensions
Here, you will find that the Base App, System App are up to version 16.0

Yaaay!! We are finally on latest version of Business Central



Changes to Admin Center for v15.4, v16 in Microsoft Dynamics 365 Business Central Online(NAVISION ERP)

Introduction: With Business Central already upgraded to v15.4, and soon about to upgrade to v16 after 1st April 2020, there are very useful features being added to Business Central Administration
I'm super excited to blog about these. Let us check them out.
I think its finally time to say "Now we are talking!"
Pre-requisites:Microsoft Dynamics Business Central OnlineAccess to Microsoft Dynamics Business Central Admin CentreDemonstration:Change #1: Layout of List of Environments
A clean and a user friendly layout change can be observed in the List of Environments.
You can see fields such Available Update Version, Scheduled Update Date

Change #2: Environment Details
New Actions -

Manage Apps: In this you can see what all apps are installed in your Business Central EnvironmentsManage Sessions: In this you can see all the sessions running for your Business Central EnvironmentsApplication Insights Key: Use to log all your Telemetry to Azure Applications

New Fields -

Available Upd…

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: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

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 …