You need to sign in to do that
Don't have an account?
Error: You can't associate a private contact with an account.
I'm working through the Trailhead module on Account and Contact relationships (Learn CRM Essentials for Salesforce Classic > Accounts & Contacts > Understand Account and Contact Relationships https://trailhead.salesforce.com/trails/getting_started_crm_basics/modules/admin_intro_accounts_contacts/units/admin_intro_accounts_contacts_relationships)
It walks you through adding Related Contacts to the Account page, and then creating a related Contact through it.

I run into an error when I create a new Contact off of that screen: "Error: You can't associate a private contact with an account.".

So, the steps are:
1: Account page
2: Click [Add Relationship] button in Related Contacts section
3: On the 'New Account Contact Relationship' click the Contact search icon
4: Click the [New] button
5: Enter the Contact info and click [Save]. The pop-up closes. (note: there is NOT an 'Account' field on this page.
6: Click [Save] button on the 'New Account Contact Relationship' page. The error is displayed.
The only thing I've been able to do is exit these screens, go find the newly created Contact, edit it and add an Account, then go back and add the relationship.
How do I prevent this situation?
Thank you!
It walks you through adding Related Contacts to the Account page, and then creating a related Contact through it.
I run into an error when I create a new Contact off of that screen: "Error: You can't associate a private contact with an account.".
So, the steps are:
1: Account page
2: Click [Add Relationship] button in Related Contacts section
3: On the 'New Account Contact Relationship' click the Contact search icon
4: Click the [New] button
5: Enter the Contact info and click [Save]. The pop-up closes. (note: there is NOT an 'Account' field on this page.
6: Click [Save] button on the 'New Account Contact Relationship' page. The error is displayed.
The only thing I've been able to do is exit these screens, go find the newly created Contact, edit it and add an Account, then go back and add the relationship.
How do I prevent this situation?
Thank you!
Hi Martin,
There is no solution to prevent this solution because salesforce doesn't allow private contact record to be associated with an account this.
Follow this link for better understanding of it.
https://help.salesforce.com/articleView?id=shared_contacts_considerations.htm&type=5
This link will give you a fair explantion of why it doesn't allow such association.
Let me know if it helps.
Thanks!
Thank you for sharing that article, it definately describes the problem.
To solve it, it makes sense to modify the "New Contact" screen so that "Account" is on the screen as a required field (step 5 in my original post - here's a screenshot). Where do I locate that page layout to modify it? I can't find a layout that matches so I can add "Account" as a required field.
Thanks!
Your query has led me to some interesting things, confusing rather. Because it actually makes no sense of that 'new' button since there is no Account look up field. And like you, I also was looking for a way to edit that layout to add an account look up field but couldn't find any way to edit it.
You should post this as an idea on Success Community.
Also I would like to mention one more thing that if you are going to create a new contact anyway then why follow the path:
Click Add Relationship->Click Lookup icon-> then click New.
Instead, you can simply create a new contact by clicking "New Contact" which is to the extreme left of "Add Relationship".
There are certainly paths that I can take that don't result in an error.. multiple paths. But you can count on users finding the paths that don't work, like this one. I want to make sure that users don't get stuck and frustrated. I'll keep investigating.
I found a post in Ideas on the subject: https://success.salesforce.com/ideaView?id=08730000000l2LEAAY hopefully they address it someday!
Please vote this up to "best answer" if you agree! :-)
I was able to pass the challenge by switching Amanda Garcia's Account back to Garcia, Inc in her Contact record.
ERROR
STEPS TO PASS MODULE
1. Create Amanda Garcia as a New Contact.
2. Create Garcia Inc as a New Account (note: I couldn't find anywhere to set the type to "business" so I just created a new account).
3. Edit Amanda Garcia's contact info as show here (with the checkbox):
4. Press the pencil icon to edit. Since her account is Private, the Account Name will be enabled for editing.
5. Under Account Name, type Garcia Inc.
6. Press Save (bottom of page).
Attempt to pass the module after following these steps. These are what worked for me :)