Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2022 Release Wave 1 PlanDynamics 365 release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
2022 release wave 1 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All 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