NAV Gallery Image – PS Scripts Order

This week I have training about NAV and Azure and I used some examples in NAV 2016 Gallery Image on Azure.

NAV90GalleryImage.jpg

This image is awesome, but sometime people doesn’t know what PowerShell script can be started before some others. For example, you cannot run “Use Azure SQL Database” and after that “Install Multitenancy”…

Because of that I wanted to make some small help to all people who want to use this NAV 2016 image. In the following, you can find a chart with order of using all PowerShell scripts. Now, you know how to configure all of them on the same VM.

NAV90GalleryImageOrder.jpg

Advertisements

Multitenancy on NAV2015 Image on Microsoft Azure

When we speak about NAV on Azure, we expect Multitenancy as main strength. This is because, we expect an easy repeatability. Now, I will explain how to achieve this goal using NAV 2015 image deployed on Microsoft Azure.

We have excellent tolls, but we also have some rules. First, if you already run “O365 Integration pack” and “ClickOnce Deployment pack” scripts, unfortunately you cannot use this tools. You will get message similar as on following picture:

Multi0

You need to have a clean image deployment with running only “Initialize the VM pack” (must run it). Then, you need to run install.ps1 file from C:\DEMO\Multitenancy folder. You can find it, when you click on Enable Repeatability from NAV on Azure Welcome Screen. You can run this PowerShell file using PowerShell ISE.

When you open this script, you have to replace “vmadmin” in path with your user name on all places you can find. You can see one of the examples on following picture:

Multi0-1

You could also rename tenant ID, if you want it. It has name “Default”, by default.

After that, you can save and run your script. When script is finished, you will get URLs file with your new links with tenants.

Multi1

Now, you can use these new links to run your NAV 2015 with tenant. If you want to add new tenant or remove existed, you can do it running Multitenancy Demo Admin Shell from your VM desktop. You can also use it tool to add users to tenant or remove existed from tenant.

Multi2

Changing Credential Type at NAV2015 Image on Microsoft Azure

Now, I have to continue my previous article about new Microsoft Dynamics NAV 2015 image in Gallery Image on Microsoft Azure. I said that system is configured with Windows credential type. Now, I want to describe, how you can change it very easy with prepared scripts in DEMO folder.

On ‘Welcome to Microsoft Dynamics NAV on Microsoft Azure’ page, you can find Initialize the Virtual Machine link and with it, you can open DEMO\Initialize folder with PowerShell scripts.

azure1

When you open and run install.ps1 script, you will configure Microsoft Dynamics NAV 2015 with NavUserPassword credential type with all necessary configurations. Script is pretty smart and when you run it, it will ask you all necessary configuration questions:

  • NAV language
  • NAV administrator username
  • NAV administrator password
  • Your Cloud-Service name
  • Certificate Pfx File

System always give you possibility to choose default values or to change with your own. For Certificate Pfx File, system ask you to fill your certificate file or choose self-signed certificate. When script finish all necessary tasks, you will get as result all information (URLs and credentials).

ađazure2

Also, you will get all shortcuts (Windows, Web and Tablet Client, Development Environment, Administration and Development Shells…) on your desktop.

Thanks to Microsoft. I really like this script, because everything is so easy. I will continue with other features on this Microsoft Dynamics NAV 2015 Gallery Image in few following days.

New NAV2015 Image on Microsoft Azure

Finally, we got a new NAV release as image on Microsoft Azure Gallery. This is Microsoft Dynamics NAV 2015 CU3. I expected it earlier, because GP 2015 has already existed. But, OK this is not so late. blog-1 Now, all of you who want to test Microsoft Dynamics NAV 2015, can do it on Microsoft Azure VM. And, I am really happy, because it is with the last CU with great features. You can install it easy as you only need to follow instructions and wait few minutes for deploying. You can use Connect icon to make connection with new Azure VM. When you are signed on VM, you have all necessary links and you can run new NAV. You can run Windows, Web and Tablet clients or Development Environment. You also can run Administration and Development Shells. But I am little disappointed, because again as for NAV2013R2, we have configured Windows credential type, not NavUserPassword. With Windows credential type, you can use this NAV only on this VM. You cannot have really Azure experience. You also have only two endpoints, but you can add additional. blog-2 To make Azure experience with logging from your computer, you have to change credential type with new tools (I will post about it). But regardless of it, it image has excellent tools. You can find all important location for NAV on VM easy and you can add your language, as well and do other great things. Some of features are not installed by default, but you can easy find installation DVD (using link on home page) and finish it if you need. You also can find a lot of cool demos. In any case, thanks to Microsoft for this image. I will have a lot of information for few days, after I make a few demos.