Issue
When using the Office 365 workflow actions, the workflow instance suspends with the error: 'Unable obtain security token, authentication failed.'
Resolution
- Verify that the account being used does not have Multi-Factor Authentication (MFA) enabled, as MFA is not currently supported by Nintex for Office 365
- Verify that the action works with an @domain.onmicrosoft.com account vs. an @domain.com account. Success with an @domain.onmicrosft.com account vs a domain account will indicate an issue with ADFS. The Microsoft Remote Connectivity Analyzer can be used to investigate ADFS issues further.
Error Code
Unable obtain security token, authentication failed.
Additional Information
Steps for testing with Microsoft Remote Connectivity Analyzer: Microsoft Remote Connectivity Analyzer
- Select Office 365 tab
- Under Office 365 General Tests select 'Office 365 Single Sign-On Test'
- Select 'Next'
- Fill in domain user credentials and the verification captcha
- Select 'Perform Test'
- Review results for ADFS errors
