I recently upgraded my dynamics CRm from 2015 to 2016.
Post upgrade , the $.ajax calls from CRM to one of my LOB systems is failing.
This Piece of Code was written as command bar (ribbon) commands.
The REST calls work independently, the only differentiator is the Dynamics CRM upgrade from CRM 2015 to CRM 2016.