Microsoft.AspNetCore.Identity 2.2.0 is deprecated, true. You need to install Microsoft.AspNetCore.Identity.EntityFrameworkCore instead. Namespace stays the same
using Microsoft.AspNetCore.Identity;