You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: