When attempting to connect to SharePoint Online using a Connected System configured with OAuth 2.0, the following error is received when testing the connection:
Authorization unsuccessful. We received the following error:
error_description: AADSTS90014: The request body must contain the following parameter: 'resource'.
Trace ID: <Trace Id>
Correlation ID: <Correlation Id>
Timestamp: YYYY-MM-DD HH:MM:SSZ
SharePoint Online uses a non-standard implementation of the Authorization Code grant authentication strategy that is not compatible with the Appian OAuth 2.0 strategy.
Upgrade to the latest version of Appian which provides the SharePoint Connected System.
This article applies to Appian 19.2 and earlier.
Last Reviewed: January 2020
© 2021 Appian. All rights reserved.