diff --git a/api-reference/v1.0/api/site-get.md b/api-reference/v1.0/api/site-get.md index 21b33dddc7d..183522271e5 100644 --- a/api-reference/v1.0/api/site-get.md +++ b/api-reference/v1.0/api/site-get.md @@ -52,6 +52,15 @@ To access the team site for a group: GET /groups/{group-id}/sites/root ``` +> [!NOTE] +> This API has a [known issue](https://developer.microsoft.com/en-us/graph/known-issues/?search={ID}): accessing a renamed group team site using `GET /groups/{group-id}/sites/root` may return a **308 Permanent Redirect**, which, if followed directly, results in a **401 Unauthorized** error. This happens because the redirect targets the SharePoint REST API directly. +> +> **Workaround:** Extract the site domain and relative path from the redirect URL in the response header, then retrieve the SharePoint site by path using: +> ``` +> GET /sites/{hostname}:/{relative-path} +> ``` +> For more information, see [Get SharePoint site by path](site-getbypath.md). + ## Request headers |Name|Description|