Hello,
I am wondering if you can suggest a fix for this issue:
I am using Per-Tenant Data with identity, And as the documentation describes I can see the TenantID added as a primary key to the AspNetUserLogins table. However, when I try to add a login:
result = await UserManager.AddLoginAsync(user, externalLoginInfo);
I get this exception:
'System.InvalidOperationException': Unable to track an entity of type 'IdentityUserLogin<string>' because its primary key property 'TenantId' is null.