There is still a demo module about multi tenancy in the marketplace: https://marketplace.mendix.com/link/component/80498
It's for Mx7 but it gives you a good idear on how to setup. We just have one tenant object that we connect to everything. Do note that mistakes can be made easily. So do use a module like the security inspector or Javascript to double check your model to see who can see and change what.
Regards,
Ronald
Hi Shekhar, we’ve implemented the Multi-Tenancy module referenced earlier. It is operational in a production app. We had a few issues with it initially and if I recall there are still a couple lingering issues with a TenantAdmin role not having the proper access to edit TenantUser properties. We also customized the module as we had to handle the upgrade ourselves to 8.x and 9.x. It seems the module is maintained by Mendix so I’m not sure why its not regularly maintained. I would be interested in contributing to its for the benefit of the community since it really streamlines support for multi-tenancy within a single app runtime. Perhaps we can collaborate on bringing the module up to spec?