Share via

How to get the location of the site data residency?

Baojun Guo 46 Reputation points
2025-07-16T02:24:07.7033333+00:00

Hello Expert,

So sorry to bother you. Hope you are doing well.

I am looking for a method to get the location for the SharePoint data via the graph API the same to the description on the page https://learn.microsoft.com/en-us/microsoft-365/enterprise/m365-dr-workload-spo?view=o365-worldwide
User's image Do we have an equal graph API to provide the data location?

Thanks,
Baojun

Microsoft 365 and Office | SharePoint | Development
0 comments No comments

Answer accepted by question author

Anonymous
2025-07-16T04:08:48.48+00:00

Dear Baojun Guo
Welcome to the Microsoft Q&A Forum and thank you for reaching out and sharing your issue.

Based on the information you've provided, I understand you're looking for an optimal method, ideally via Microsoft Graph API, to determine the geographic location where a SharePoint site's data is stored.

According to my research, Microsoft Graph API currently does not offer a direct endpoint to retrieve the data residency location of a SharePoint site. However, there are alternative approaches you can consider:

-Microsoft 365 Admin Center:

Navigate to Settings > Org Settings > Organization Profile

Under Data Location, you’ll find the storage location for each workload (Exchange, SharePoint, Teams, etc.)

User's image

-SharePoint Admin Center:

Access via Admin Centers > SharePoint or directly at https://admin.microsoft.com/sharepoint

Go to Sites > Active Sites

Select the site you want to inspect

In the site details pane, look for Location or Geo Location

If your organization uses multi-Geo, the specific geographic region (e.g., Singapore, US, EU) will be displayed. If no location is shown, it likely means your tenant uses a single default data residency region.

I hope this information proves helpful. If you need further details or assistance, please feel free to share, I’m always here and ready to support you! 


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".     

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.   

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Baojun Guo 46 Reputation points
    2025-07-16T05:17:59.9866667+00:00

    Hello Tammy-Ng,

    I am so sorry to bother you again.

    Do you agree that I use the value of the key "countryLetterCode" of the response from the API "https://graph.microsoft.com/v1.0/organization" as the data location stored?

    Thank you very much!

    Thanks,
    Baojun Guo

    Was this answer helpful?

    0 comments No comments

  2. Baojun Guo 46 Reputation points
    2025-07-16T04:28:17.54+00:00

    Hello Tammy-Ng,

    Thank you very much for you quick answer.

    Thanks,
    Baojun Guo

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.