Skip to main content
Version: 4.1 (2026 H2)

Teams

primedocs is available directly in Microsoft Teams. Users can create documents from primedocs templates without leaving Teams. Generated documents are saved automatically, either to the user's OneDrive or to a Teams channel folder.

Two Modes​

Personal App​

primedocs is installed as a Teams app and appears in the Teams sidebar. Documents created through the personal app are saved to the user's OneDrive.

Channel Tab​

primedocs can be added as a tab to any Teams channel. Documents created via the channel tab are saved to the channel's SharePoint folder, making them immediately available to all channel members.

Prerequisites​

  • Office 365 / Entra ID (Azure Active Directory) authentication is required.
  • The Entra ID App Registration requires the delegate permissions Sites.ReadWrite.All and Files.ReadWrite.All.
  • Only web-compatible primedocs templates are supported.

How It Works​

  1. The Teams app is configured in primedocs.config with a <teams id="[GUID]" namePrefix="" /> entry.
  2. A Teams app manifest is generated at https://your-url.example.com/app/api/manifest/teams.
  3. The manifest is uploaded and distributed via the Microsoft Teams Admin Centre.

The <teams> entry​

  • id: Any GUID that identifies the Teams app.
  • namePrefix: Optional prefix for the add-in names. With multiple environments, the add-ins are then named in the form {namePrefix} primedocs to keep them distinguishable. Leave empty if not needed.

Installation​

For step-by-step installation instructions, see Microsoft Teams App Installation.