# 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="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FkonJ9uDkzAULaS5CVSsF%2Fimage.png?alt=media&#x26;token=16c16978-3c27-4072-922b-1efdaeca45d4" 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="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FARnjW5X7L55ZYN0W5vUX%2Fimage.png?alt=media&#x26;token=6f50e3fa-0bc8-4071-b936-4cf00abf7a6d" 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="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2F0ERibkAZ1uYk82mM2BLf%2Fimage.png?alt=media&#x26;token=d2f2f2a1-0fdd-4dde-825a-a24f5d3a411a" 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="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2F5CLO5UkgHKYs0RfDEwmi%2Fimage.png?alt=media&#x26;token=3088deab-ced2-4c82-b02a-9ae974ff6067" alt=""><figcaption></figcaption></figure>

For a step-by-step guide to configure a connection to Teams, see [#modern-team-sites](https://docs.zeedrive.com/administration-guide/network-drive-connection-options#modern-team-sites "mention")
