to close the loop on this, Release 8.3 fixed the issue.
actually it looks like ABP 8.3 solves the problem. just saw the migration guide. Let me upgrade and report back
I changed the above code slightly since the email property cannot take USER NAME.
private async Task MigrateAndSeedTenantDatabaseAsync(Guid tenantId, string userName, string password)
{
using (_currentTenant.Change(tenantId))
{
await _dbSchemaMigrator.MigrateAsync();
await _dataSeeder.SeedAsync(new DataSeedContext(tenantId)
.WithProperty("AdminUserName",
userName)
.WithProperty(IdentityDataSeedContributor.AdminPasswordPropertyName,
password)
);
}
}