Troubleshooting guide for Salesforce Microsoft Graph connector
1. Bad state error while signing-in to create a connection
The PKCE option is checked in the application, causing the issue. To fix it, uncheck this option in the app registration in Salesforce.
2. OAuth app scope names have changed
The name of the selected OAuth scopes changed to the following names:
Access and manage your data (API) is now = Manage user data via APIs (api)
Perform requests on your behalf at any time (refresh_token, offline_access) is now = Perform requests at any time
3. Insufficient permissions
Review the setup of the configured user profile. The View Setup and Configuration
must be checked and the API must be enabled for Org
and Profile
.
Under Administrative Permissions, ensure View Roles and Role Hierarchy
, View All Profiles
, andView All Users
permissions are in place. Under Standard Object Permissions, ensure Read
and View All
permissions to the following objects: Accounts, Cases, Contacts, Leads and Opportunities.
To get more information on the types of errors, go to the error details page after selecting the connection. Select the error code to see more detailed errors. Also refer to Monitor your connections to learn more.