Using the ITracingService only works for plug-ins registered in SandBox.
Since this service is so much better/easier to use than e.g. logging to file on the server, this should be enabled also when using plug-ins not registered in isolation.
Our focus is on enabling the online service where plug-ins can only be run in the sandbox. This request can only be used for plug-ins running in an on-premises environment, it doesn't represent the direction we are headed. We will instead invest in making developing and debugging sandbox plug-ins better.
MSDN article describing where it should be available: "Tracing is supported for sandboxed (partial trust) and full trust registered custom code and during synchronous or asynchronous execution"
Our focus is on enabling the online service where plug-ins can only be run in the sandbox. This request can only be used for plug-ins running in an on-premises environment, it doesn't represent the direction we are headed. We will instead invest in making developing and debugging sandbox plug-ins better.
Our focus is on enabling the online service where plug-ins can only be run in the sandbox. This request can only be used for plug-ins running in an on-premises environment, it doesn't represent the direction we are headed. We will instead invest in making developing and debugging sandbox plug-ins better.
The comments referring to the archived CRM 2016 documentation refer to an error that says 'full-trust' plug-ins running in the sandbox, but miss the point that you can't register a full trust plug-in in the sandbox. Archived content is not maintained. For the latest content see:
On-premises: https://docs.microsoft.com/dynamics365/customerengagement/on-premises/developer/plugin-development
Common Data Service (Online) : https://docs.microsoft.com/powerapps/developer/common-data-service/plug-ins