Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I have a console application that loops through all the customizable entities and creates 3 attributes (dnbs_overriddencreatedby, dnbs_overriddenmodifiedby and dnbs_overriddenmodifiedon) for each of them.
I tried to execute the same code on an online organization and on an on-premise organization. I was expecting the performance to be better on the on-premise organization as it is the case but the difference is enormous:
It takes almost 1 hour for the online organization to the same thing the on-premise organization can do in about 3 minutes.
The on-premise organization is using AD authentication while the online is using OAuth.
Should I be expecting better performance from the online organization? Also, could it be because I am using a trial instance instead of a production instance?
A trial environment has the least amount of resources allocated to it. Not surprising it is slower than your on-prem environment. It will be slower than a production instance.
Authentication should not be a factor.
Metadata operations are rather expensive.
Will online give you better performance than your on-prem? I suppose it depends on your on-prem hardware.
But I wouldn't compare a trial environment with a production instance.
What is strange is that the same action takes about 30 seconds through the GUI in comparison to 3 minutes through the SDK. Oh well, it took me a whole day to add all the fields but now it is done.
In case that it might be of interest to anyone, it turns out that it will take about 30 seconds on the first relationships regardless of whether it is with the GUI or SDK, but for subsequent lookups it will take over 3 minutes again regardless of whether you use the GUI or SDK. It may have something to do with it being a trial or some resources not being deallocated after the first relationship is created.
Business Applications communities