cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Microsoft Graph Api - SharePoint connectivity

Lavanya.A
Level 3
Hi,

we are facing an issue with authentication of Microsoft Graph API - SharePoint.

1. Application authentication is being used with required Api permissions,
PFA:15304.png

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

ewilson
Staff
Staff
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
------------------------------

Hello Eric,

Amazing!! It's working.

Thanks for the suggestion.

Regards,
Lavanya

------------------------------
Lavanya Adulapuram
------------------------------