We’ve recently released some kernel fixes that improve how Microsoft Dynamics AX 2012 R2 and R3 handle SQL Server AlwaysOn AG failovers.
The R3 version of this fix is visible on LCS here:
LCS | AX 2012 R3 Kernel Fix KB3159596 | Handle SQL Server AlwaysOn AG failovers more transparently and gracefully
For AX 2012 R3, you need to be on a kernel that is >= 6.3.3000.3972
For AX 2012 R2, you need to be running a kernel that is >= 6.2.3000.1684
You can download the latest kernels from LCS here:
Alternatively, you can check the kernels that are available on this overview page:
Please see this link for further details on kernel patching: