Setting Up Business Central On-Premise (BC-230) on a Virtual Machine
Setting Up Business Central On-Premise (BC-230) on a Virtual Machine
Introduction:
Microsoft Dynamics 365 Business Central (formerly known as Microsoft Dynamics NAV) is a comprehensive business management solution that helps organizations streamline their financials, supply chain, sales, and customer service processes. It offers robust features for managing various aspects of your business, from inventory control to financial reporting.
In this blog post, we’ll focus on the steps to download and install Business Central on-premises within a virtual machine. Whether you’re a developer, IT administrator, or business user, understanding this process is essential for setting up a local environment to explore and work with Business Central.
Pre-requisites:
Business Central OnPremise
Virtual Machine
Steps:
In VM, Go to Microsoft Learn to download the latest version or you can also download according to your version requirement BC-Previous-Version Links
2. Choose the region for the business central
3. Extract the downloaded file.
4. Go to the extracted file and click on setup.
5. Go to Advanced Installation Options -> Choose an Installation Option -> Custom.
6. Make all the listed components available (Run from My Computer).
7. Make the necessary changes.
8. If you want to give authentication to Business Central OnPrem then, Assign the DNS Name in Azure Portal.
9. After the successfully installation, go to Windows PowerShell ISE -> "Run as Administrator" and execute the below commands line by line. After the execution of the New-SelfAssingedCertificate (9th Line) the Thumbprint will be generated.
Set-ExecutionPolicy unrestricted -Force
Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\230\Service\NavAdminTool.ps1';
Get-NAVServerConfiguration -ServerInstance BC230
Set-NAVServerConfiguration -KeyName EnableDebugging -KeyValue true
Set-NAVServerConfiguration -KeyName DeveloperServicesEnabled -KeyValue true
Restart-NAVServerInstance -ServerInstance BC230
Get-NAVServerUser BC230
Set-NavServerUser -Company 'CRONUS International Ltd.'
New-SelfSignedCertificate -DnsName "www.shubhazure.eastus.cloudapp.azure.com" -CertStoreLocation "Cert:\LocalMachine\My"
10. After creation/installation of Certificate, Go to Manage Computer Certificates > 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.
11. Go to IIS Manager in that BC230 -> click on Browse ":8080 (http)".
12. Change Credential Type and Add Thumbprint
Set-NAVServerConfiguration -KeyName ServicesCertificateThumbprint -KeyValue
Set-NAVServerConfiguration -KeyName ClientServicesCredentialType -KeyValue NavUserPassword
13, Change the Credential Type in navsettings.json files:
This tells Business Central Clients to change the CredentialTypes for the Client.
Goto C:\inetpub\wwwroot\<WEB SERVER INSTANCE>\navsettings.json
15. Go to Users in Business Central, insert the Password:
16. Binding your Web Server Instance with SSL / Self-Signed Certificate in IIS:
Restart the Server Instance in Business Central Administration and Webserver instance in IIS.
Result
After inserting the credentials, you will get access to Business Central.
Conclusion
Thus, in this blog we saw how to download Business Central (BC230) on Virtual Machine.
Thank you for reading hope this helps!