> For the complete documentation index, see [llms.txt](https://docs.zeedrive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zeedrive.com/feature-guide/map-to-all-modern-team-sites-under-a-single-drive.md).

# Map To All Modern Team Sites Under A Single Drive

<code class="expression">space.vars.PRODUCT\_NAME</code> can map a network drive to all the modern team sites that users have joined, including Microsoft Teams. Changes to user membership of modern team sites will automatically be reflected in the network drive; if users create a new modern team site, or join an existing one, then the new modern team site will appear in the user's mapped network drive in File Explorer automatically.

Create a new network drive and choose the 'Modern team sites' connection option.

<figure><img src="/files/ZKwDJJkJoUF1QzToUjQo" alt=""><figcaption></figcaption></figure>

Click the Choose button to change how <code class="expression">space.vars.PRODUCT\_NAME</code> connects to the modern team sites. You can choose to connect only to the default document library in each site or to the entire site hierarchy.

<figure><img src="/files/N1n15BlWYbTqfYyirjWv" alt=""><figcaption></figcaption></figure>

Choose the default document library connection option if you employ only a single document library per modern team site or want your Microsoft Teams channels to appear directly below the modern team sites in File Explorer.

In this example two Microsoft Teams, Accounts and New Product, have a number of channels.

<figure><img src="/files/7zKFG8awuzPntWbKNtIC" alt=""><figcaption></figcaption></figure>

The channels will be shown directly below the Teams in File Explorer if the default document library option is selected.

<figure><img src="/files/dFiqfGbThQtxLGrKh4sm" alt=""><figcaption></figcaption></figure>

For a step-by-step guide to configure a connection to Teams, see [Network Drive Connection Options](/administration-guide/network-drive-connection-options.md#modern-team-sites)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.zeedrive.com/feature-guide/map-to-all-modern-team-sites-under-a-single-drive.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
