This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Error: “Failed to authenticate” when running Python-based connectors in Desktop Automation/Scheduler
Running workflow containing Python-based connectors such as OneDrive, SharePoint, Google Drive in Desktop Automation/Scheduler fails with the following error:
Failed to authenticate
Microsoft Outlook 365
*This is not an exhaustive list of connectors.
Screenshot of the error:
Another possible error as seen in ServiceNow connector:
The credential information kept in the tool is user encrypted. Running the workflow using a different user or local system account will not be able to decrypt it correctly and hence the error.
Note that Desktop Automation/Scheduler does notsupport the use of Python-based connectors. Please consider the use of the Alteryx Server instead.
If you really do need to use the connectors in Desktop Automation/Scheduler, the workarounds can be one of the following: 1. Set the "run as a different user" in Alteryx System Settings to the user who creates the workflow containing the connector.
2. On the Desktop Automation/Scheduler machine, log on as the service account/user used in the "Run as a different user". Re-enter all the credentials information for the connector in the workflow and add it to the scheduler.