CIL execution to be disabled for all AX users
Recently we have faced an error during SSRS report printouts, where the quick fix was to temporarily disable CIL execution for all regular AX user accounts.
The error message was as per below, and this MSDN blog post has pointed us in the right direction of resolving the problem:
Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics.
The following job can be used to disable CLR operations. It essentially changes the Execute business operations in CIL setting under Options > Development tab based on the flag defined: