We are using CrmServiceClient as a singleton instance for all the methods being used. Other configurations are
RequireNewInstance = True
AuthType = OAuth
Normally it works as expected but in load testing, it is getting stuck at Monitor.Enter() of RetrieveMutliple()
Dynatrace logs show, it is taking 99.9% of the time there only and this is how it is breaching the SLA. In the On-Prem setup, it was working fine (AuthType was IFD for On-Prem).
Is there any specific setting we need to do for D365?







