Get Graph Id of Folder or File from SharePoint Online UI or without writing code.

Опубликовано: 02 Май 2026
на канале: Joymon v/s Code
3,853
25

In this tutorial, we will see how to retrieve a document's Graph ID directly from the SharePoint Online user interface. Understanding the Graph ID is crucial for various integration and automation tasks within Microsoft 365. Many times, we may require knowing the Graph Id to quickly validate scenarios. This same mechanism can be applied for getting the Graph Id of any drive item such as a folder without writing any code.

Below is the template Api URL. Replace values within {}
https://{tenant}.sharepoint.com/sites/{Site}/_api/web/GetFileByServerRelativeUrl('/sites/{Site}/{DriveName}/{folder}/{file}.{ext')/ListItemAllFields/File?$select=VroomItemId

Links
About the VroomItemId https://devblogs.microsoft.com/micros...

#sharepointonline #graphapi #microsoft #office365 #sharepoint #api #webapi #sharepoint-rest-api #restapis #restapi #browser #browser-tools #browser-developer-tools #sharepoint-csom #csom

00:00 Introduction
00:28 SharePoint Online Graph Ids
00:40 Problem of getting Graph Id
00:58 Approach using F2 browser tools
01:54 Approach using API from browser
03:18 CSOM VroomItemId and VroomDriveID