There is contact based portal registration. In CRM a person can exists in multiple business units. Now when a user try to login, it says password incorrect because it is referring to the other contact which is not having the password but same emailId. I want to enable portal for all the contacts in the system, based up on the business unit I will show the menu items.
suggest changes in portal setup so that it can handle multiple contacts for the user
You have to think again about your implementation idea based on Administrator's Guide to Portal Capabilities for Microsoft Dynamics 365.
Few points:
Liquid syntax
rather than complex implementations. Read more