cancel
Showing results for 
Search instead for 
Did you mean: 

Sharepoint Site, drive, file ids.

Pradeep_IDC
Level 4

Can anyone lemme know how to get Sharepoint Site, drive, file ids using MS Sharepoint API? 

Thanks in advance!



------------------------------
Pradeep IDC
------------------------------
5 REPLIES 5

Hi Pradeep,

You can use Microsoft graph API via  Utility - http or you can use this Sharepoint from DX to achieve this.

Working with SharePoint sites in Microsoft Graph - Microsoft Graph v1.0 | Microsoft Learn



------------------------------
Athiban Mahamathi - https://www.linkedin.com/in/athiban-mahamathi-544a008b/
Technical Consultant,
SimplifyNext PTE LTD,
Singapore
------------------------------

Not working 

Internal : Unexpected error Error during Web API HTTP Request

HTTP Status Code: 403

HTTP Response Content: {"error":{"code":"accessDenied","message":"Access denied","innerError":

Getting this error while using sharepoint API in blueprism code.

Can you lemme know what exact thing to do in this case?

Hi pradeep,

Error message indicate you don't have access to the SharePoint site, I would suggest to check your SharePoint administrator to provide API access . API requires different access to interact  the site, it may not be the same access by interacting manually.

-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri

Can you please tell me what exact access I need to raise? Is that APIConnectors.ReadWrite.All access? or Site.ReadWrite.All access?

Thanks in advance!

HI pradeep,

 

Check below article from Microsoft and request based on what you are looking.

https://learn.microsoft.com/en-us/graph/auth/auth-concepts

Also check different assets or VBO's available in digital exchange by searching Grapi API or sharepoint. Added one of the connector for reference( Under the user guide refer prerequisites)
https://digitalexchange.blueprism.com/dx/entry/9648/solution/microsoft-graph-api---authentication

-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri