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 365 | Integration, Dataverse...
Unanswered

OrganizationService.Create() taking excessively long (> 2 minutes to complete)

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have a call to OrganizationService.Create in a D365 plugin to create a ConstraintBasedGroup (this is one of the default entities if I understand correctly) and the call is taking over 2 minutes to complete.  As a result, the entire plugin is throwing a FaultException, and it states the plugin is timing out. 

How would someone go about further diagnosing this issue? Is there any further analysis I as a developer can do, or does this need to be passed off possibly via a ticket to Microsoft? 

Thanks,

Andrew 

I have the same question (0)
  • AndrewTheArt Profile Picture
    on at
    RE: OrganizationService.Create() taking excessively long (> 2 minutes to complete)

    1. How many attributes is too many? I thought this was mostly a concern when you were doing a Retrieve or RetrieveMultiple.

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: OrganizationService.Create() taking excessively long (> 2 minutes to complete)

    Hi partner,

    In general, use organizationservice to create a record will not spend to much time, since your action had been time out, you should consider the following points.

    1.Whether there are to many attributes(fields) to save when you creating the record.

    2.Whether there is any other threads of plug-in running with Constraint Base Group or related entities.

    3.Whether the network is normal.

    You could also use web api to create constrain based group by C# or JS.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/entities/constraintbasedgroup

    pastedimage1576464694607v1.png

    Hope it helps.

    Best Regards,

    Leo

  • meelamri Profile Picture
    13,216 User Group Leader on at
    RE: OrganizationService.Create() taking excessively long (> 2 minutes to complete)

    Hello, 

    Can you please share your code ? 

    Mehdi EL Amri

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 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 433

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 67 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans