realmConfigToPersist.getUserStoreProperties().put(
UserCoreConstants.RealmConfig.PROPERTY_EXTERNAL_IDP, GOOGLE_APPS_IDP_NAME);
tenant.setRealmConfig(realmConfigToPersist);
tenant.setAdminPassword(UUIDGenerator.getUUID());
tenantId = tenantPersistor.persistTenant(tenant);
tenantInfoBean.setTenantId(tenantId);
TenantMgtUtil.addClaimsToUserStoreManager(tenant);
// Notify tenant addition