I am trying to integrate with our Sharepoint Online platform in order to take data from it. I followed the configuration steps in the appian document (https://docs.appian.com/suite/help/24.2/Integrating_Sharepoint_with_Appian_CS.html), using the client credential - Azure ACS option but it gives me the following error:Could you help me solve the problem? Thank you very much.
Discussion posts and replies are publicly visible
Are you seeing this error testing the connected system or running an integration?
Do you see any additional information in the Tomcat logs?
My guess is either app policy information is misconfigured (https://docs.appian.com/suite/help/24.2/sharepoint-connected-system.html#client-credentials-authentication) or, if calling an integration, the content selected is not associated with the site that the Client Creds were generated under
I was seeing this error when I was trying to connect to the system. After reading a lot of Microsoft documentation, you found that the Client Credentials - Azure ACS connection form is already expiring. Therefore, it is not valid to use this way for new connections. The solution is the implementation of Client Credentials - Entra ID. This request implements a certificate. With this you can solve the error.
Hi Ricardo,
We are trying to use this metod but we are not able to connect with sharepoint. Could you please share with us a screenshot of your connection form.
Best Regards,
Domenico.
Hi Domenico,
Here you have the documnetation SharePoint - Appian 24.3 . Remenber that you need to use the Client Credentials - Entra ID.
Regards
Ricardo
Ciao Ricardo,
Thanks for your message. Yes, we have read the documentation and we are using the Client Credentials - Entra ID, but the system return the message:
Unable to retrieve access tokenThe following error occurred: invalid instance URLPlease ensure that your Ainstance URL in the connected system is correctAC
What are we doing wrong? thanks in advance.
D
Check this article, perhaps you have some mistake in the configuration. Create Microsoft Entra ID Application based on Client Credentials | Document Management System
One of the mistakes I made that took me time to understand is that I didn't add the sharepoint subsite. Check if the referring URL is correct.
Hi Ricardo,we have checked the URL we are using, and it includes the name of the SharePoint directory.We are unable to understand where our mistake might be.Thanks,D