You are currently reviewing an older revision of this page.

DRAFT KB-XXXX "Invalid Request" error when attempting to connect to Sharepoint Online with a Connected System

This issue has been resolved in an Appian hotfix/new Appian version. Please apply the latest hotfix to your Appian installation or upgrade to the latest version of Appian.

Symptoms

When attempting to connect to SharePoint Online using a Connected System configured with OAuth 2.0 an error is received when testing the connection:

Authorization unsuccessful. We received the following error:
error: invalid_request
error_description: AADSTS90014: The request body must contain the following parameter: 'resource'.
Trace ID: <Trace Id>
Correlation ID: <Correlation Id>
Timestamp: 2018-09-20 08:03:29Z

Cause

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.

Action

Upgrade to the latest version of Appian which provides the SharePoint Connected System.

Affected Versions

This article applies to Appian 19.2 and earlier.

Last Reviewed: January 2020