The MuleSoft documentation on the Microsoft Sharepoint Connector provides details about each field that is required to be updated. Please refer to the documentation here. Before configuring the Sharepoint Connector, please make sure that the App used for the OAuth connection is registered on the Azure Platform. Once this is done please refer to the below steps for performing a successful connection.
<AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl"/> </AppPermissionRequests>
Solution: Verify that your CallBack path field has the value "/callback". This error occurs if you provide a different value.
Solution: This is a permission issue. Ensure you click the "Grant admin consent for {tennant}" button:
If the error persists, please reach out to your Microsoft team to resolve this.
Solution: Ensure you performed step 15 above. Also, review if the Resource Owner ID is provided correctly in the connector configuration and in the Authorize URL.
You can also try removing Resource Owner ID completely to check if this resolves the issue.
Solution: If you have an expiration set on your Access Token then add "offline_access" to the Scope field to generate a Refresh Token: https://{tenant_name}.sharepoint.com/.default offline_access
Refer to the following article that contains details on OAuth configuration for Sharepoint: https://global-sharepoint.com/sharepoint-online/in-4-steps-access-sharepoint-online-data-using-postman-tool/
Below are some additional articles that you can refer to:
For Tenant ID: https://www.sharepointdiary.com/2019/04/how-to-get-tenant-id-in-sharepoint-online.html
For Scope: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/authorization-code-oauth-flow-for-sharepoint-add-ins#table-1-sharepoint-add-in-permission-request-scope-uris-and-their-corresponding-aliases
For Redirect URI: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/register-sharepoint-add-ins
Disclaimer: This article involves products and technologies which do not form part of the MuleSoft product set. Technical assistance for such products is limited to this article.
001115669

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.