Check out the latest features available in Dynamics 365 for Customer Engagement, including LinkedIn Connect, Voice of the Customer and Universal Resource Scheduling.
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
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 and Operations TechTalks | Customer Engagement TechTalks | Talent 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