---
sourceDocument: Brazil Governance, Risk, and Compliance
sourceDocumentLink: https://www.servicenow.com/docs/r/governance-risk-compliance

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Governance, Risk, and Compliance

ft:clusterId :

    - grc

bundleId :

    - grc

workflow :

    - Technology


---

# Find the File location ID

# Find the File location ID for a Cloud file configuration {#ariaid-title1}

Release version: Brazil  
Updated October 26, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Find the Microsoft SharePoint site ID or drive ID to enter in the File location ID field of a Cloud file configuration record.

## Before you begin

Role required: sn_grc_workspace.admin

* Access to the Microsoft SharePoint site where the files are uploaded.
* The Microsoft OneDrive connection and credential that the spoke uses must have access to the same site. Otherwise, file uploads fail even if the ID is correct.
* Permission to use Microsoft Graph Explorer. You might be prompted to consent to permissions such as Sites.Read.All. If your organization blocks this, ask your IT administrator to approve it.

## About this task

The File location ID identifies where cloud files are uploaded.

## Procedure

1. Open the Microsoft SharePoint site in a browser and note the hostname and site path from the URL.  
   For example, in <https://contoso.sharepoint.com/sites/AuditDocs>, the hostname is <kbd class="ph userinput">contoso.sharepoint.com</kbd> and the site path is <kbd class="ph userinput">sites/AuditDocs</kbd>.
2. Sign in to Microsoft Graph Explorer with your work account.  
   Go to [developer.microsoft.com/graph/graph-explorer](https://developer.microsoft.com/graph/graph-explorer).
3. Run the following request.  
   Replace the hostname and site path with your values.

       GET https://graph.microsoft.com/v1.0/sites/contoso.sharepoint.com:/sites/AuditDocs

   The response contains an id value in the format hostname,siteCollectionId,siteId.
4. Based on the File location type that you want to use, get the ID.
   * Site: Copy the entire <kbd class="ph userinput">id</kbd> value from the response, including the commas, with no spaces. For example, <kbd class="ph userinput">contoso.sharepoint.com,2aa33926-0cf7-4365-970a-e8c50dade57b,6fbf6eac-d87a-474b-86e4-bf450c3c39c5</kbd>.
   * Drive: Run <kbd class="ph userinput">GET https://graph.microsoft.com/v1.0/sites/ &lt;site-id&gt;/drives</kbd>, using the site ID from the previous step. In the response, find the entry whose name matches the document library where the files are uploaded, usually Documents, and copy its id value.
5. Navigate to AllGRC AdministrationCloud file configuration and open the record.
6. On the File upload location tab, select the File location type and paste the value in the File location ID field.
7. Select Update.

## What to do next

For more information about the fields, see [Cloud file configuration record form](https://www.servicenow.com/docs/Z0iysbIDGEfyDPMJhwAyjw "Update the access permissions for a record in the Cloud file configuration record form.").

*[\>]: and then


