Issue with Microsoft Graph Api - SharePoint connectivity
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-10-22 05:49 AM
Hi,
we are facing an issue with authentication of Microsoft Graph API - SharePoint.
1. Application authentication is being used with required Api permissions,
PFA:
2. The same credentials are working fine for sending mail (Microsoft graph Outlook-sendMail) but facing error when we use Microsoft Graph API - SharePoint upload and Microsoft Graph API- SharePoint download connectors
Error: {"error":{"code":"InvalidAuthenticationToken","message":"CompactToken parsing failed with error code: 80049217","innerError":{"date":"2022-10-28T07:28:41","request-id":"bc86###############(hidden)","client-request-id":"bc86####################(hidden)"}}}
Could anyone please help me on this and let me know what caused this error?
Thanks in advance...
Regards,
Lavanya
------------------------------
Lavanya Adulapuram
------------------------------
we are facing an issue with authentication of Microsoft Graph API - SharePoint.
1. Application authentication is being used with required Api permissions,
PFA:
2. The same credentials are working fine for sending mail (Microsoft graph Outlook-sendMail) but facing error when we use Microsoft Graph API - SharePoint upload and Microsoft Graph API- SharePoint download connectors
Error: {"error":{"code":"InvalidAuthenticationToken","message":"CompactToken parsing failed with error code: 80049217","innerError":{"date":"2022-10-28T07:28:41","request-id":"bc86###############(hidden)","client-request-id":"bc86####################(hidden)"}}}
Could anyone please help me on this and let me know what caused this error?
Thanks in advance...
Regards,
Lavanya
------------------------------
Lavanya Adulapuram
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
31-10-22 01:25 PM
Hello @Lavanya Adulapuram,
The Sites.ReadWrite.All permission should cover just about everything having to do with SharePoint via Graph API. Have you tried working with different files in different folders? You might try adding the File.ReadWrite.All permission just to see if that changes anything.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
The Sites.ReadWrite.All permission should cover just about everything having to do with SharePoint via Graph API. Have you tried working with different files in different folders? You might try adding the File.ReadWrite.All permission just to see if that changes anything.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-11-22 06:17 AM
Hello Eric,
Amazing!! It's working.
Thanks for the suggestion.
Regards,
Lavanya
------------------------------
Lavanya Adulapuram
------------------------------
Amazing!! It's working.
Thanks for the suggestion.
Regards,
Lavanya
------------------------------
Lavanya Adulapuram
------------------------------
