Community Alums
Not applicable

Hello Community,

 

Common issues while implementing ServiceNow to SharePoint Integration using OAuth authentication include:

  1. Invalid Client ID or Client Secret:

    • This issue may arise if the OAuth client ID or client secret provided during configuration is incorrect or has not been generated properly. Ensure that the correct credentials are used and have the necessary permissions.
  2. Invalid App Registry URLs:

    • If the URLs configured in the Application Registry entry within ServiceNow are incorrect, it can lead to authentication failures. Verify that the URLs specified for authorization and token endpoints are accurate and accessible.
  3. Invalid/Missing Scopes:

    • OAuth scopes define the level of access that the integration has in SharePoint. If the scopes are invalid or missing, it can result in insufficient permissions and authentication errors. Confirm that the required scopes are configured correctly.

Addressing these issues involves carefully reviewing and updating the OAuth credentials, ensuring accurate URLs in the Application Registry, and verifying the proper configuration of OAuth scopes to establish a successful and secure integration between ServiceNow and SharePoint.

Note: The mentioned issue can occur in integration in ServiceNow using OAuth authentication.

Comments
Ravi Kand
Tera Contributor

Hi Prasad,

 

When I run using Flow Designer, "List Files In A Folder" Action, I am getting the below error.

 

errorMessage

Invalid Authorization Token
 
Could you please look into this and suggest me what I am missing.
Method failed: (/sites/EDMServiceNow/_api/web/GetFolderByServerRelativePath(decodedurl=@p1)/Files) with code: 401 - Invalid username/password combo
Close
 
RaviKand_0-1728539775131.png

 

Thank you,
Ravi

Version history
Last update:
‎01-11-2024 04:25 AM
Updated by:
Community Alums
Contributors