We are trying to integrate Appian and SharePoint using client credentials Entra Id. When I am trying to test the connection for the connected system, it is giving me the following error:
An unrecognized error was returned
The following status code was returned:403
Please ensure that your configuration is correct
Could someone help me on this.
Discussion posts and replies are publicly visible
For this kind of issue make sure below standard points:Ensure Azure AD app has correct SharePoint API permissions and admin consent.(In Azure Portal, add Sites.ReadWrite.All Application permission to your App Registration, click Grant admin consent, and verify your Client Secret is valid in Appian).Use correct tenant ID, client ID, and client secret in Appian connected system.Check if certificate-based auth needed instead of client secret.Confirm no access restrictions block the connection.
Our organization is insisting on the Certificate based auth. Is Sites.ReadWrite.All mandatory? Our cybersecurity team says, Sites.ReadWrite.All cannot be given because it means giving read/write access to all the sharepoint sites. They can give Sites.ReadWrite.Selected and give only readwrite access to specific sharepoint site. Thanks for your reply. I will cross check the access restrictions again.