Fix Customer Service Portal in Dynamics 365

How to Fix Customer Service Portal sign-in without creating duplicate contacts in Dynamics 365 ?…