Setting up multitenant without using commands.
Let's see how you can configure a multitenant without using any commands.
For this i have used latest build of Dynamics NAV 2016 CU35.
1. You should create a new service instance (i.e. MultitenantNAV90).
How to create an instance check this Create New Service Instance.
2. Edit the instance and in general tab place a check mark in Multitenant.
3. Restore a demo database for CU35 and name that database MultiTenantNAV90.
4. In the service instance map this database under database tab.
5. Define the port in the service instance that you want to use for connecting your dynamics nav service instance.
6. Start the newly created service instance.
7. Now you will be able to see a new tenant instance under you newly created service instance.
8. Now on the Tenants right click and mount your databases.
9. Enter the required details in the new window of mount tenant.
9a. Id should be entered in such a way so that you can identify which database you are going to connect.
9b. Enter the database which you want to mount (i.e. Demo Database 9.0 build 50528)
9c. Enter the database server where the database has been restored (i.e localhost\NAVDEMO).
9d. Define the default time zone from the dropdown menu.
9e. Be sure to place a check mark on overwrite tenant id in database, this will be your id when we connect this instance.
Below is the screen shot of what i have configured.
Once you have created all the required tenants you need to synchronize tenant.
When you synchronize you tenant their state will change to Operational.
Now how to connect the service, you need to enter the tenant id after the service instance in the server address of you client (i.e. localhost:7046/multitenantnav90/CU35).
And that’s it, you are now connect to multitenant database.
*This post is locked for comments