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 On-premise
- Virtual Machine
- Azure Portal
Steps:
- Login to VM and visit this link Microsoft Learn on google to download the latest version.
2. Choose the region for the business central
3. Extract the downloaded file.
4. Go to the extracted file and click on setup.
5. Choose Advanced Installation Options -> Choose an Installation Option -> Custom.
6. Make all the listed components available (Run from My Computer) or (Run all from My Computer).
7. Make the necessary changes.
8. Go to Azure Portal and 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.
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.’
Note: Upon executing the New-SelfAssingedCertificate command, a Thumbprint will be generated. Please retain the thumbprint ID for your reference.
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 file:
This tells Business Central Clients to change the CredentialTypes for the Client.
Goto C:\inetpub\wwwroot\<WEB SERVER INSTANCE>\navsettings.json
14. Go to Users in Business Central, insert the Password:
15. Binding your Web Server Instance with SSL / Self-Signed Certificate in IIS:
16. 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.
We hope you found this article useful and if you would like to discuss anything you can reach out to us at [email protected].