web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

ParentAccountID Loop

(0) ShareShare
ReportReport
Posted on by

Microsoft Dynamics® CRM 2016 8.1.0.359 (DB 8.1.0.359)

1. Open an Account

2. go to the field parentAccountID

3. Create new (Quick Formular)

4. Parent Account ID created / Formular closed -> ok

5. Save the account -> ERROR (Sales force Automation Error)

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Creating this parental association would create a loop in Accounts hierarchy.Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
  <ErrorCode>-2147220217</ErrorCode>
  <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
  <Message>Creating this parental association would create a loop in Accounts hierarchy.</Message>
  <Timestamp>2017-04-30T07:23:07.7984715Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText i:nil="true" />
</OrganizationServiceFault>

 

 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: ParentAccountID Loop

    Hi Martin,

    Refer the links below.

    community.dynamics.com/.../195623

    social.microsoft.com/.../creating-this-parental-association-would-create-a-loop-in-accounts-hierarchy

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans