Collaborative authoring connects Vault to Microsoft 365 to allow multiple users to edit a document at the same time using the Microsoft 365 desktop software, the Microsoft 365 mobile apps, or Microsoft 365 on the web. Only users with edit and download permissions can edit a document with collaborative authoring. Collaborative authoring can be used with Microsoft Word (*.docx), Excel (*.xlsx and *.xlsm), and PowerPoint (*.pptx) documents.

Collaborative authoring is not enabled in your Vault by default. You must configure your Vault to make this feature available to users.

Configuration Overview

Before you can use collaborative authoring with Microsoft 365, you need to:

  • Have a Microsoft 365 tenant.
  • Register your Vault in Azure AD.
  • Create a Vault Collaboration user in Azure AD.
  • Create a dedicated shared document library for collaboration.
  • Authorize your Vault to connect to your Microsoft 365 tenant.
  • Set up automatic invitations for external users.
  • Enable external collaboration in SharePoint.

Registering Your Vault in Azure AD

Your Microsoft 365 business subscription includes Azure Active Directory (Azure AD). To use collaborative authoring, you must register your Vault as an application in Azure AD. Vault needs certain permissions to access your Microsoft 365 account.

  1. Register a new application in Active Directory.
  2. Under Redirect URIs, select Web.
  3. Enter your Vault’s Redirect URI as follows: https://{Your Vault DNS}/ui/clientTiles/office365/oauth2 Example: https://veeva-qms.veevavault.com/ui/clientTiles/office365/oauth2
  4. Add a Microsoft Graph permission with the following delegated permissions:
    • Files.ReadWrite.All
    • User.Read
    • email
    • offline_access
    • openid
    • profile
  5. Optional: Add a Microsoft Graph permission with the following delegated permissions.
    • User.Invite.All
    • User.ReadWrite.All
    • Directory.ReadWrite.All
  6. On the Azure app page, click Certificates & Secrets.
  7. Click New client secret.

Creating a Vault Collaboration User

The Vault Collaboration user is the Microsoft 365 user that is authorized to access your Vault.

  1. Create a new user in Active Directory called vaultcollaboration@{yourdomain.com}. Replace yourdomain.com with your Microsoft 365 domain name.
  2. Assign a Microsoft 365 license to the new user.

Creating a Shared Document Library for Collaboration

The shared document library is a SharePoint team site where your Vault documents are temporarily stored while they’re being edited. The SharePoint permissions should not allow users to access or share Vault documents directly through Microsoft 365.

  1. Create a new team site in the SharePoint Admin Center. See details about site naming restrictions below.
  2. Set the Privacy settings for the team site to Private.
  3. Add the Vault Collaboration user you created to the Add Members field. Then, select Owner from the drop-down next to their name. The Vault Collaboration user should be the only owner of the site.
  4. Click Finish.

After creating the new team site, log in to it as the Vault Collaboration user you created and complete the following steps:

  1. Select Settings > Site Permissions > Change How Members Can Share.
  2. Select Only site owners can share files, folders, and the site.
  3. Click Save.
  4. Return to the Permissions panel and toggle Allow access requests off under Access Request Settings.
  5. Verify that the Site owners group under the Permissions panel only includes the Vault Collaboration user.
  6. Select Advanced Permissions Settings > Permission Levels > Contribute and clear the Delete Items and Delete Version checkboxes.
  7. Return to the team site Home.
  8. Select Documents > Settings > Library Settings > More Library Settings > Permissions for this Document Library.
  9. Click Stop Inheriting Permissions.
  10. Click Ok.
  11. Select users in the Site Members and Site Visitors groups.
  12. Click Remove User Permissions.
  13. Click Ok.
  14. Return to the Document Library.
  15. Copy and paste the SharePoint URL into the Vault document in Collaborative Authoring or another location for future use in the Collaboration Drive. The Collaboration Drive URL is the Shared Documents library path on the team site and usually ends with allitems.aspx.

Naming Restrictions for SharePoint Sites

Follow these rules when naming your SharePoint site:

  • In general, your site name should not include the following special characters: ., (, ), {, }, [, ], ', ", <, >, ?. In some cases, you can use some of these characters before .com in your site URL.
  • You cannot end your site URL with a forward slash (/).

SharePoint Site Limits

SharePoint allows up to 50,000 unique permissions per site. This means the amount of users with Edit permission on a document in collaborative authoring cannot exceed this limit. For example, if a user has Edit permission on Document A and Document B, then two (2) unique permissions are used on the SharePoint site.

To avoid reaching the SharePoint site limit, ensure documents are checked in after collaborative authoring is completed. If multiple documents are left checked out where multiple users have Edit permission, Vault may encounter the SharePoint site limit.

Connecting Your Vault to Your Microsoft 365 Account

Once you have configured Microsoft 365 to work with Vault, you need to connect your Vault to your Microsoft 365 account.

  1. Log in to your Vault.
  2. Navigate to Admin > Settings > Checkout Settings and click Edit.
  3. Fill in the Collaborative Authoring with Microsoft Office fields. See field details in the table below.
  4. Click Authorize.
  5. When prompted, log in with the Vault Collaboration username and password. If you are not prompted to log in, you may already be logged into Microsoft 365 as yourself. Log out and try to authorize again, or retry in a private browser session.
  6. When the checkout settings are authorized, the Integration Status will show as “Verified.” Click Save.
Field Name Description
Directory (tenant) Id The automatically-generated Tenant ID listed on the App Overview page of the Vault application you created in Azure AD
Application (client) Id The automatically-generated Client ID listed on the App Overview page of the Vault application you created in Azure AD.
Client Secret Create a new secret for the Vault application in Azure AD.
Collaboration User The username for the Vault Collaboration user you created in Azure AD.
Collaboration Drive The URL to the Documents folder on the SharePoint team site you created.

Automatically Inviting External Users

External users are collaborators with email addresses from different domains. In order to use collaborative authoring with external users, you’ll need to enable automatic invitations through Azure in your Vault. Once automatic invitations are enabled, Vault sends external users an email invitation when they click Edit to start or join a collaborative authoring session, automatically adding them to the session. External users can then join or start the session by clicking Edit. Note that external users do not need to accept the email invitation to collaborate and join a session.

To enable automatic invitations:

  • In your Vault, navigate to Admin > Settings > Checkout Settings.
  • Click Edit.
  • Under Office User Settings, select the Auto Invite External Users checkbox.
  • Click Confirm in the Re-authorization Required dialog.
  • Click Authorize.
  • Click Save.

Enabling External Collaboration in SharePoint

When configuring collaborative authoring, you’ll also need to enable external collaboration and access to your SharePoint content. To learn more, view the SharePoint documentation.

Removing Collaborative Authoring with Microsoft 365 Settings

If you want to turn off collaborative authoring, you can remove the checkout settings. This option will only be available if there are no documents currently being edited in Microsoft 365.

  1. Log in to your Vault.
  2. Navigate to Admin > Settings > Checkout Settings and click Edit.
  3. Click Remove Settings.
  4. Click OK to confirm that you want to remove these settings.
  5. Click Save.