Follow the below steps to change the Account.
Option 1:
- Open the Contact record.
- Use “Disable Partner User” to disable the Contact as Partner User.
- Now change the Account.
Option 2:
- Open the Account to which the Contact has to be mapped. Select “Enable as Partner”.
- Select Yes, I want to enable this account as a Partner Account. Click Confirm button.
- Now change the Contact’s Account.