The problem is AppUser is inherited from IdentityUser and their primary keys are not mapped in the method OnModelCreating of dbcontext.
There is already a post available with resolution. Visit the below link
EntityType 'IdentityUserLogin' has no key defined. Define the key for this EntityType
Hope this helps.