# 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
