I'm using KingswaySoft (v10.2) and SSIS to migrate data to D365 (v9.1) for Customer Service (cloud version)
I'm getting the following error from Kingswaysoft in my SSIS package after roughly 1 hour of successful execution - this includes successful record insertion into D365 during this initial 1 hour. This happens every time and I'm not sure how to fix. If I restart my SSIS package then it will happily continue executing for another hour and the error will occur again.
[Dynamics CRM Destination 1 [1955]] Error: An error occurred with the following error message: "KingswaySoft.IntegrationToolkit.DynamicsCrm.CrmServiceException: CRM service call returned an error: CRM service call returned an error: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=login.microsoftonline.com/.../authorize, resource_id=xxxxxxxx.crm6.dynamics.com'. (SSIS Integration Toolkit for Microsoft Dynamics 365, v10.2.0.6982 - DtsDebugHost, v13.0.1601.5)KingswaySoft.IntegrationToolkit.DynamicsCrm.CrmServiceException
: CRM service call returned an error: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=login.microsoftonline.com/.../authorize, resource_id=xxxxxxxx.crm6.dynamics.com'.System.ServiceModel.Security.MessageSecurityException
: The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Bearer authorization_uri=login.microsoftonline.com/.../authorize, resource_id=xxxxxxxx.crm6.dynamics.com'.System.Net.WebException
(Status Reason: Unauthorized): The remote server returned an error: (401) Unauthorized.".
I suspect that the issue is with the OAuth token expiry in Azure AD. If so, I thought KingswaySoft would automatically renew the token?
I'm using the following connection properties on my KingswaySoft connection.
Thanks for considering my question and any support you can provide!