ServiceNow to Salesforce Integration – Permission Issue

NaveenK08632274
Tera Contributor

I am currently working on integrating ServiceNow (PDI instance) with Salesforce. For this purpose, I created a Salesforce demo account.

While attempting to create a new external/custom application in the Salesforce App Manager, I encountered a permission-related issue. The system is prompting for additional permissions, and I am unable to proceed with creating the external custom application.

I have already tried using out-of-the-box (OOB) permissions, but they do not allow me to create the application.

At this point, I am looking for the correct role or permission set required to create an external custom application in Salesforce.

If anyone has experience with this or can guide me on the required permissions or best approach, please let me know.

Thanks in advance for your support.

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @NaveenK08632274 

 

If you are 

1. Integrating Salesforce for SAM  -> then refer:

Integrating with Salesforce CRM 

Integrating with Salesforce CRM and Subscription Optimization

Minimize security risks and protect information by granting access only to the necessary user or API permissions.

Minimal user permissionsProcess Required user role in the Salesforce CRM application Authentication scopes

Download subscriptionsUser with the following permissions:
  • View Setup and Configuration
  • API Enabled
Application with grant type Authorization code:
  • manage your data (api)
  • Perform requests on your behalf at any time (refresh_token, offline access)

Application with grant type Client Credentials: manage your data (api)

Pull user activityUser with the following permissions:
  • View Setup and Configuration
  • API Enabled
Application with grant type Authorization code:
  • manage your data (api)
  • Perform requests on your behalf at any time (refresh_token, offline access)

Application with grant type Client Credentials: manage your data (api)

Reclaim subscriptionUser with Admin permissions
Application with grant type Authorization code:
  • manage your data (api)
  • Perform requests on your behalf at any time (refresh_token, offline access)

Application with grant type Client Credentials: manage your data (api)

Download consumptionUser with the following permissions:
  • View Setup and Configuration
  • API Enabled
Application with grant type Authorization code:
  • manage your data (api)
  • Perform requests on your behalf at any time (refresh_token, offline access)

Application with grant type Client Credentials: manage your data (api)

 

 

2. Using the IntegrationHub Salesforce spoke

3. Using rest Api then follow: Learn to Integrate ServiceNow with Salesforce using REST API and OAuth 2.0

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

NaveenK08632274
Tera Contributor

When trying to connect to Salesforce using OAuth, the connection is failing with the following error:
error=invalid_request error_description=missing required code challenge

On the ServiceNow side, I created an Application Registry for third-party OAuth and configured the Client ID and Client Secret. I also added the required OAuth Entity Scopes and used them in the REST message.

However, when attempting to retrieve the OAuth token, I encounter the above error.

Could you please confirm if anything is missing or incorrectly configured on the ServiceNow side?