Error while using Microsoft Sharepoint online Spoke to Attach file in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2025 02:11 PM
Hello Everyone,
I am working on integrating SharePoint Online with ServiceNow to automate the process of attaching a file from a SharePoint document library to a ServiceNow record(Ex: INC or CHG).
To Facilitate this, I have set up the "Microsoft SharePoint Online Spoke" and am using the "Attach a SharePoint file to a record" action provided by Integration Hub. I've enter all the required parameters,
Including:
1. SharePoint site URL
2.File Path
3.Document Library Name
4.Desired File Name for the attachment
5.Target Table and Record in ServiceNow(Ex: INC,CHG).
When I execute the flow, the action fails and returns the following errors:
1.Invalid Authorization Token( When I click on Get OAuth Token, I can see the token is generating successfully)
2.Error_description":"Exception of type 'Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException' was thrown.
Has anyone encountered this issue or successfully implemented a similar setup? Any advice or troubleshooting steps would be greatly appreciated.
Thanks you!