Client Credentials Based Authentication - Invalid Client Secret - Appian SharePoint Integration

Hi,

We have a use case to upload the documents stored in Appian to the SharePoint folder. 

We don't want each user to provide the SharePoint credentials every time a document is attempted to move to the Sharepoint site. Hence, we want to establish the Connected System on Appian via the "Client Credentials" approach. However, the instructions on the link shown below this in the Connected System box is not clear on how to generate the "Client Secret". The steps documented to generate Client Secret on https://docs.appian.com/suite/help/21.4/Integrating_Sharepoint_with_Appian_CS.html is followed, but on the Connected System when selected "Client Credentials" as Authentication, Appian is throwing the error: Unable to retrieve access token The following error occurred: Invalid Client Secret Please ensure that your Client Secret in the connected system is correct. (Refer screenshot). Any thoughts on how to generate client secret key on SharePoint site for Client Credentials based authentication.

  Discussion posts and replies are publicly visible

  • 0
    Certified Associate Developer

     Hi Siddharth, we are facing the similar issue. may i know if you find the solution?

  • 0
    Certified Associate Developer

    To resolve the "Invalid Client Secret" error in your Appian SharePoint integration, first ensure you're following Microsoft's instructions for generating a new client secret for "App-Only" permissions in SharePoint. Once the client secret is generated, carefully copy it—without any additional spaces—and update the connected system configuration in Appian with this new secret. Double-check that the necessary permissions are granted and admin consent is provided in Azure AD. After updating the secret, use the "Test Connection" feature in Appian to confirm that the integration is working