About the name property included in the GraphAPI response when the site's default language and display language are different.

Ayase Morita 120 Reputation points
2025-02-27T04:25:40.9766667+00:00

When creating a site in SharePoint, I executed the GET "https://graph.microsoft.com/v1.0/sites/{site-id}/drives" API with a discrepancy between the default language and the display language selected.

As a result, it was confirmed that the document library name that should have been changed was inconsistent with the name property included in the response.

For example, if the default language of the site is set to English and the display language to Japanese, after changing the document library name and checking the Graph API response, it does not reflect the change. Then, when the display language is switched back to English, the document library name that should have been changed remains unchanged. If the document library name is changed again while keeping the display language in English, the Graph API response reflects the new name.

Therefore, I have two questions:

  1. Is it documented in the Graph API specifications that when the default language and display language of the site are different, the changed document library name does not reflect in the Graph API response? (Is it specified that changes are only reflected in the Graph API response when the default language and display language are the same?)
  2. Is there a way to reflect the changed document library name in the Graph API response when the default language and display language are different?
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,367 questions
{count} votes

Accepted answer
  1. Emily Du-MSFT 50,561 Reputation points Microsoft Vendor
    2025-02-27T09:46:42.6166667+00:00

    When the default language and display language are different for a SharePoint site collection, the default language data is stored in cloud storage.

    The Graph API returns the default language data is stored in cloud storage. There is no way to return any other language other than English, as the data stored in cloud storage is English language.


    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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