How to Fix Disabled Trust Button in SharePoint for Salesforce Integration
Question details
The user needs to resolve an application approval error and identify the correct API endpoints for integrating Salesforce with SharePoint.

- Product
- SharePoint / Microsoft 365
- Device & OS
- not provided
- Scenario
- Setting up a Salesforce integration to automatically save files into a specific SharePoint document library or folder via API.
- Observed behavior
- The Trust button is disabled, and an error message appears stating that a tenant administrator must approve the application.
Ensure you have the contact information for your organization's Microsoft 365 or SharePoint tenant administrator, as resolving this requires elevated administrative privileges.
Request Administrator Consent for the Application
Use this solution to bypass the disabled Trust button by having a qualified administrator grant the necessary permissions.
A disabled Trust button typically indicates that your current user account lacks the necessary permissions to authorize a third-party application like Salesforce. Microsoft 365 requires tenant-level administrator consent to assign delegated or application-level (app-only) permissions to external integrations.
Locate the IT administrator in your organization who holds the Global Administrator or Privileged Role Administrator role in the Microsoft 365 admin center.
Ask the administrator to log into the Azure Active Directory (Microsoft Entra ID) portal and review the Salesforce app registration.
Have the administrator navigate to the 'API permissions' section of the app registration and click 'Grant admin consent for [Organization Name]' to approve the required SharePoint permissions.

Verify Target Folder Details and API Configuration
Ensure your API request contains the exact endpoint structure and target site details to successfully upload files.
Streamline Your Document Workflow with WPS Office
If you are managing files across integrations and need a lightweight, powerful tool to view and edit your exported documents, WPS Office is an excellent solution. It offers a familiar interface, completely seamless compatibility with standard Office files, and comprehensive editing tools without the heavy subscription costs.
- 1. Download the installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the suite: Run the installer and follow the simple on-screen instructions to set up WPS Office on your computer.
- 3. Open your documents: Launch WPS Office and open your exported Word, Excel, or PowerPoint files directly to start editing.

Frequently Asked Questions
Why is the Trust button disabled when I try to integrate Salesforce with SharePoint?
The Trust button is disabled because your user account does not have the required administrative privileges to authorize third-party applications. Tenant-wide administrator consent is necessary to grant the required API permissions.
Can I grant SharePoint application permissions myself?
No, granting application permissions (also known as app-only access) requires an administrator account. You must contact your Microsoft 365 Global Administrator or Privileged Role Administrator to perform this action.
Which API endpoint should I use to upload a file to SharePoint from Salesforce?
The exact POST endpoint depends on your chosen API framework (Microsoft Graph API vs. SharePoint REST API) and the file size. For standard files using Graph API, the endpoint typically looks like /sites/{site-id}/drive/items/{parent-id}:/{filename}:/content. Refer to Microsoft's developer documentation for detailed endpoint structures.




