Forum Discussion
StepByStepCode20
Sep 09, 2022Copper Contributor
Sharepoint OAuth2.0 API Access
I created the API in share-point and saved all XML permission to the app, however I am getting the error code "-2147024891, System.UnauthorizedAccessException", I am able to get the access token. Wh...
kalpeshvaghela
Sep 09, 2022Iron Contributor
It seems that something could be wrong how you get access token using Client Id and Secret key in both the approach
Please share below details for first approach which you have used
- How you are getting access token from Client Id and Secret Key - you can share code as well
- Which XML you have used for permission?
- Which SharePoint API and How you are trying to call it?