Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions api-reference/v1.0/api/site-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down
Loading