Answers.Body: <ul>
  <li>Go to <code>Administer &gt; CiviMember &gt; Membership Types</code></li>
  <li>for each of the membership types shown, click <code>Edit</code></li>
  <li>Look at the <code>Membership Organization</code> field - if that is the org you are trying to delete then you need to either change that field to a different org, or delete the membership type.  When you have done that, you should be able to delete the org itself.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-11T09:28:04.707Z
Answers.LastActivityDate: 2024-03-11T09:28:04.707Z
Answers.UserDisplayName: Aidan
Answers.Body: <p>Another possibility to the one mentioned by Aidan is that one of the contacts has a connected CMS user and cannot be deleted for that reason. Afaik the error message is incorrect in some cases.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-04-10T12:12:28.190Z
Answers.LastActivityDate: 2024-04-10T12:12:28.190Z
Answers.UserDisplayName: Fabian
Answers.Body: <p>Problem is likely to be that older civicrm gave an unhelpful incorrect warning when the issue was actually trying to delete a Contact that still had a connection to a CMS User</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-05-07T04:09:32.047Z
Answers.LastActivityDate: 2024-05-07T04:09:32.047Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I created two test users and I played around with membership and fees.
  Now I cannot delete those users because of the reason below.</p>
  <p>All transactions and memberships were removed. Membership page shows 0 Members and also membership tab on contacts shows nothing but still I cannot delete.
  Could you please explain the message below?</p>
  <p><em>The contact might be the Membership Organization of a Membership Type. You will need to edit the Membership Type and change the Membership Organization before you can delete this contact.</em></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-04-22T14:25:13.130Z
Comments.Text: We have seen this when attempting to delete an individual contact, not an organisation. Changing the organisation in Membership Types didn't help.
Comments.UserDisplayName: Stephen Palmstrom
Tags: <civimember><civicontact>
Title: The contact might be the Membership Organization of a Membership Type
ThreadText: # The contact might be the Membership Organization of a Membership Type
  
  (Asked by: username_0 on 2024-03-10)
  
  I created two test users and I played around with membership and fees.
  Now I cannot delete those users because of the reason below.
  
  All transactions and memberships were removed. Membership page shows 0 Members and also membership tab on contacts shows nothing but still I cannot delete.
  Could you please explain the message below?
  
  *The contact might be the Membership Organization of a Membership Type. You will need to edit the Membership Type and change the Membership Organization before you can delete this contact.*
  
  **Tags:** civimember, civicontact
  
  > **Comments:**
  > **username_1**: We have seen this when attempting to delete an individual contact, not an organisation. Changing the organisation in Membership Types didn't help.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2024-03-11. Score: 1
  
  * Go to `Administer > CiviMember > Membership Types`
  * for each of the membership types shown, click `Edit`
  * Look at the `Membership Organization` field - if that is the org you are trying to delete then you need to either change that field to a different org, or delete the membership type. When you have done that, you should be able to delete the org itself.
  
  
  ---
  
  ### Answer by username_3 on 2024-04-10. Score: 1
  
  Another possibility to the one mentioned by username_2 is that one of the contacts has a connected CMS user and cannot be deleted for that reason. Afaik the error message is incorrect in some cases.
  
  
  ---
  
  ### Answer by username_4 on 2024-05-07. Score: 0
  
  Problem is likely to be that older civicrm gave an unhelpful incorrect warning when the issue was actually trying to delete a Contact that still had a connection to a CMS User
  
  
  ---
  
  