# Set Up An External Guest User

External (guest) users of your Microsoft 365 tenant can be set up on your <code class="expression">space.vars.PRODUCT\_NAME</code> subscription and access the sites and document libraries you have shared with them via your <code class="expression">space.vars.PRODUCT\_NAME</code> network drives.

Users from other Microsoft 365 tenants or users with personal email accounts like @gmail are supported.

Here is a step-by-step guide to set up an external user with an @gmail.com account to access a folder in a document library through a <code class="expression">space.vars.PRODUCT\_NAME</code> network drive you configure on your <code class="expression">space.vars.PRODUCT\_NAME</code> subscription.

## Set Up The User In Microsoft Entra

{% stepper %}
{% step %}
Navigate to your organisation's Microsoft Entra admin centre and select Invite external user

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FkMVyNS1YrpMYJrBxfeIW%2Fimage.png?alt=media&#x26;token=2543ec60-2c0c-40f0-bd50-2176b37a2980" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter the email address (sending an invitation is not required) click Review + invite to complete the process of inviting the external user to your tenant as a guest. The guest user will now show along with the other users in Entra

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FaugbQN1i18RJIVZIeviP%2Fimage.png?alt=media&#x26;token=fb75b570-c712-4290-abfc-47e72338e722" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Now that the guest user is set up in your Entra you can grant them access to the folder in your SharePoint Online document library. Navigate to the folder in the SharePoint document library that you intend to share, click the three dots `...` and choose Manage access

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FcOdXGYYWEAl8dIykLuBd%2Fimage.png?alt=media&#x26;token=c37ca67c-eb95-4096-bdb5-251d1852f45c" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click on the Grant Access icon

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2Fv5qfFkOPQiY5egryeDe5%2Fimage.png?alt=media&#x26;token=7c92adbb-e267-4ac2-aacb-8ecc8d52e176" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter the user name, or if it is not yet searchable by name, then enter the user's full email address. A notification is not required. Then click Grant access

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FAIxOXX60WChpe1AgDAZP%2Fimage.png?alt=media&#x26;token=5e54a279-441e-4f31-8414-17dc7df11946" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Set Up The User In <code class="expression">space.vars.PRODUCT\_NAME</code> And Configure The Network Drive

The Microsoft Entra and SharePoint Online configuration is complete. Now to set up the user on your <code class="expression">space.vars.PRODUCT\_NAME</code> subscription and the mapped drive through which they will access your shared folder.

{% stepper %}
{% step %}
Open your <code class="expression">space.vars.PRODUCT\_NAME</code> [Administration Console](https://docs.zeedrive.com/administration-guide/overview-of-the-administration-console), choose Set up or manage users -> set up a new user, and enter the user's email address. Validate and add the user on your <code class="expression">space.vars.PRODUCT\_NAME</code> subscription. Make a note of their activation code

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2Fpd8mRcec2JzkRcTBYiNW%2Fimage.png?alt=media&#x26;token=e79077e8-9329-477f-a6d3-89360068bebe" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Set up a new network drive and assign an appropriate name to make it clear this is an external share for your company. Proceed through the drive set up wizard and connect the drive to the folder you have shared

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FqTBj5r7g0ixC2aPvvXnW%2Fimage.png?alt=media&#x26;token=3c228145-216a-4c05-8a5b-b2e31e341d26" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Create a new <code class="expression">space.vars.PRODUCT\_NAME</code> group and add the user as a member of the group

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FBlY9rfoMyTeAfRSVABs8%2Fimage.png?alt=media&#x26;token=55b647a0-86ad-454a-bf8c-da99bf067b51" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
If you have other network drives that are configured to show for all users, you may want to set up a group targeting exclusion so that the drives will not be mapped for your external user. If you don't do this then the user will see your other drives and receive errors trying to access them. To modify a network drive, from the <code class="expression">space.vars.PRODUCT\_NAME</code> [Administration Console](https://docs.zeedrive.com/administration-guide/overview-of-the-administration-console), select the network drive, choose Modify, click Next. Choose the option from the screenshot below and select the group you set up previously. Publish your drive changes

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2Fj0VnYDa5gFz2mOZScXIG%2Fimage.png?alt=media&#x26;token=385b018f-dd45-4a14-a84e-22b2dd12e7d0" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Activate And Authenticate The External User

All the configuration tasks are now complete. Provide the <code class="expression">space.vars.PRODUCT\_NAME</code> activation code to the external user and direct them to the [activation guide](https://docs.zeedrive.com/user-guide/activate-your-computer) to activate their personal computer.

For personal email accounts like @gmail.com, during the activation process, the user will be prompted to request a onetime access code to their email address and enter it in to the <code class="expression">space.vars.PRODUCT\_NAME</code> authentication popup. Here's how it will look for the user:

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FwH36wZ3nF32RsHrvLijo%2Fimage.png?alt=media&#x26;token=ca790644-663f-4c54-96d9-c14bdbe57c61" alt=""><figcaption></figcaption></figure>

If this is the first time the user has connected with your Entra tenant they will be prompted by <code class="expression">space.vars.PRODUCT\_NAME</code>to accept standard Entra permissions:

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FjnaQR4TP8PD3PHuYSC4H%2Fimage.png?alt=media&#x26;token=fa4cd1cb-b806-4818-a098-440ef539ebdc" alt=""><figcaption></figcaption></figure>

The user can now complete the activation of <code class="expression">space.vars.PRODUCT\_NAME</code> on their computer. After <code class="expression">space.vars.PRODUCT\_NAME</code> starts up, the network drive you have configured for the user will be mapped and they can access it via File Explorer.

The user is now able to collaborate with you on your SharePoint Online files via a <code class="expression">space.vars.PRODUCT\_NAME</code> mapped network drive.

<figure><img src="https://4182749601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FBkDVFDwNmEHlZv1KwwiY%2Fuploads%2FpqI9zxtU8k7p1ow1u3C6%2Fimage.png?alt=media&#x26;token=b4bafea4-eeee-471f-a85c-9772277b7401" alt=""><figcaption></figcaption></figure>
