Skip to main content

Posts

Resolving Error: Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.Encryption.NavEncryptionKeyNotFoundException' was thrown

Introduction:  In this blog, I will be sharing my experience with the error  Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.Encryption.NavEncryptionKeyNotFoundException' was thrown. Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.Encryption.NavEncryptionKeyNotFoundException' was thrown. Page Customers has to close. Pre-requisites:  Microsoft Dynamics 365 Business Central Basic Understanding of BC- CDS(Dataverse)Integration Books & References:  https://www.olisterr.tech/2022/05/setup-dataverse-connectivity-with.html Demonstration:  When I would open Customers, Vendors, or Contacts, on the list page I would get the error message Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.Encryption.NavEncryptionKeyNotFoundException' was thrown. On any other pages if we open they would normally. After checking the Event Log it was clear that this was possibly caused by CDS Updated the CDS Connection setup ( Dataverse Connection Setup) usi

Annoucement: Business Central v22 Preview Release is out

ANNOUNCEMENT: Microsoft Dynamics 365 Business Central v22(Wave 1 2023) preview is out.  For more details check the announcement from Microsoft below -    Microsoft Announcements Emma Bak Nielsson (Adecco A/S)  - Announcing: Public preview for 2023 release wave is... Emma Bak Nielsson (Adecco A/S)   –   12 hours ago   –  Edited   Announcement: Announcing: Public preview for 2023 release wave is available! Read more about what is new and planned for Business Central 2023 release wave 1 https://aka.ms/BCReleasePlan and learn what's new in the Business Central Launch Event! Register now: aka.ms/BCLE Try it out today! We are pleased to announce global roll-out of the preview environments for Business Central 2023 release wave 1 (April).   Help us! We want more partners to try it out. Let us know about your experiences with the new version. You can provide feedback on Microsoft Collaborate (learn how here: aka.ms/BCPreview ) - or give us feedback and ask questions it in the Yammer grou

Download Source not permitted even when configuration allows downloading source

Introduction: In this blog, I will be sharing my experience with Customization Extensions related to Download Source in Microsoft Dynamics 365 Business Central. Pre-requisites: Microsoft Dynamics Business Central On-Premise Demonstration: As a requirement, some customers will always request access to their Customization Extension in Business Central. One such incident happens when the project in VS Code has the Download Source enabled and Business Central did not allow Downloading the source. After checking the code base, it was clear that Download Source is only allowed for apps where Tenant Visible boolean is set to true In order to deploy the extension with the Tenant visible as TRUE we had to deploy the Extension App with tenant details using the PowerShell command below. OLD COMMAND: Publish-NavApp -ServerInstance Servicename -Path NewAppPath -SkipVerification NEW COMMAND: Publish-NavApp -ServerInstance Servicename -tenant default -scope Tenant -Path NewAppPath -SkipVerification T

Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central (On Premises) Remote Code Execution Vulnerability

Introduction:  On 11th January 2023, Microsoft announced a vulnerability in NAV 2016, NAV 2017, and Business Central (On-Premise), and the fixes are shared below. Pre-requisites:  Used / Implemented NAV 2016/2017 or Business Central On-Premise Books & References:  CVE-2022-411Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central (On Premises) Remote Code Execution Vulnerability CVE - CVE-2022-41127 (mitre.org) CVE-2022-41127: Download localized DVDs for Dynamics NAV 2016 and NAV 2017 - Dynamics 365 Business Central Community What is Remote Code Execution (RCE)? - GeeksforGeeks CVE-2022-41127 - Security Update Guide - Microsoft - Microsoft Dynamics NAV and Microsoft Dynamics 365 Business Central (On Premises) Remote Code Execution Vulnerability Details:  NOTE:   THIS VULNERABILITY IS CRITICAL IN NATURE. 1. Vulnerability : Microsoft identified Remote Code Execution Vulnerabilities in NAV 2016, NAV2017, and Business Central On-Premise. While the fixes are released below.

Delete Users from NAV / Business Central

Introduction:  Have you received demo databases from someone? But you do not have the credentials? Read below to find the details. Pre-requisites:  NAV / Business Central OnPermise Demonstration:  NOTE: This step is not recommended for Production Server unless you explicitly need to do so. If you do not have Users in NAV/ Business Central, by default will allow you to add yourself as Administrator. This is needed if you migrate your database from one server to another outside of your AD. 1. Take SQL Backup: You can take SQL Backup by visiting SSMS > Right Click on DB > Tasks > Back Up > Select the File. Once you complete the wizard, your SQL backup file will be created. 2. Clear User Data using SQL Script: You can clear the Users, clear User Personalization, clear Metadata, and other tables USE [YOUR DB NAME] GO delete from [dbo].[User] delete from [dbo].[Access Control] delete from [dbo].[User Property] delete from [dbo].[Page Data Personalization] delete from [dbo].[User

Customer Digital Experience(CDX) to setup Business Central

Introduction:  In this blog, I will be sharing my experience in Customer Data Experience (CDX) and how to set up Business Central, CDX is a platform that is used to create Demos for Customers. This implies that you no longer have to pay or signup for trials in order to demonstrate Dynamics 365 Apps for Customers. To get more details Pre-requisites:  Basic understanding of CDX Access to CDX environments Books & References:  https://cdx.transform.microsoft.com/ https://learn.microsoft.com/en-us/partner-center/mpn-demos Demonstration:  1. Visit  https://cdx.transform.microsoft.com/ : Once you are on the CDX portal, you can log in with your Work Account. You can select your segment and your role. 2. Accept the CDX - Terms of use: Once you have accepted the CDX- Terms of Use, you will be taken to Customer Digital Experience Dashboard. 3. CDX - Environments:  Click on Environments to get the list of tenants. You can also create new tenants from this screen. Below you can create your own