diff --git a/samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementService.Host.csproj b/samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementService.Host.csproj
index 078c067cf1..653eee189b 100644
--- a/samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementService.Host.csproj
+++ b/samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementService.Host.csproj
@@ -29,6 +29,7 @@
+
diff --git a/samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementServiceHostModule.cs b/samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementServiceHostModule.cs
index 9128fdd720..b60daf710e 100644
--- a/samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementServiceHostModule.cs
+++ b/samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementServiceHostModule.cs
@@ -15,6 +15,7 @@ using Volo.Abp.Autofac;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore.SqlServer;
using Volo.Abp.EventBus.RabbitMq;
+using Volo.Abp.Identity.EntityFrameworkCore;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.MultiTenancy;
@@ -36,7 +37,12 @@ namespace TenantManagementService.Host
typeof(AbpTenantManagementHttpApiModule),
typeof(AbpTenantManagementEntityFrameworkCoreModule),
typeof(AbpTenantManagementApplicationModule),
- typeof(AbpAspNetCoreMultiTenancyModule)
+ typeof(AbpAspNetCoreMultiTenancyModule),
+
+ /* TODO: Using the Identity domain here is not so good.
+ It is needed to create admin role and user for newly created tenants.
+ We can convert this to a distributed event subscribed by the IdentityService */
+ typeof(AbpIdentityEntityFrameworkCoreModule)
)]
public class TenantManagementServiceHostModule : AbpModule
{