The prerequisite for successful integration of the X-Platform Add-In is API version 1.8, which is only supported by Exchange Online.
For the on-premises variants, the COM Add-In for MS Exchange/Outlook on premises must be used.
Further information on this may be available directly from Microsoft at Outlook JavaScript API requirement sets.