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
We are trying give privileges to users to BusinessUnits using AddUserToRecordTeamRequest/RemoveUserFromRecordTeamRequest and ExecuteMultipleRequest. A Typical scenario with 700 requests in ExecuteMultipleRequest takes 3-4 minutes for a user. 3000 users accessing the system to do this operation stresses out the system and users not able to access the system at peak time.
Any directions or advises to improve the performance will be a great help.
is this an external application? is it running on recurring basis or sone other trigger.
I am a bit confused with your question. Why are you using AddUserToRecordTeamRequest to assign Business Units to Users ? Isn't it a plain Update call on the User entity ?
Could you please elaborate a bit more ?
Akhil, i put it another way,
code executing ExecuteMultipleRequest with a max of 900 records per request by around 500-3000 users simultaneously. This errors out for few users, impacting them system being not accessible for minutes.
Is this on-premise or online. If it's Online, according to Microsoft they would auto scale based on the usage. For on-premise we ran into this issue one and there was nothing else we could do unless to reduce the number of requests.
The bigger question to ask is, are there any plugins or workflows that trigger for the execute multiple requests ? If so, your request count further increases as all of these are synchronous transactions.
This is On Premise solution and the logic is in synchronous workflow..im wordering if we could separate the logic out from workflow and process asynchronously.
Yes, you should try to use the Asynchronous workflows/plugins as and when possible in this case as it definitely would show some improvement in performance. But also try if you can get down the number of hits/sec on CRM by redesigning your solution.
Business Applications communities