Microsoft Teams Integration

Helps to organize project related files in Microsoft Teams

Klein IT Solutions
提供者
Klein IT Solutions

Microsoft Teams Integration for Kimai

A Kimai plugin that automatically creates customer and project folders inside a selected Microsoft Team.
Based on your Kimai customer and project data, the plugin generates the corresponding folder structure within the chosen Team — fully automated and reliable.

Optimize your document organization, reduce manual work, and ensure your team always has the correct folder at the right time.

Perfect for agencies, IT service providers, and organizations using Microsoft Teams as their main collaboration platform.

Automated folder structure in Microsoft Teams

The plugin automatically creates:

  • customer folders
  • project folders
  • structured subfolders inside a chosen base directory

Everything is handled via the Microsoft Graph API without manual interaction.

What’s included?

  • a new console command ms-teams:sync-folders for creation of customer and project folders
  • configuration validation (Team ID, folder path)
  • support for .env variables:
    • GRAPH_TENANT_ID
    • GRAPH_CLIENT_ID
    • GRAPH_CLIENT_SECRET

System Requirements

You need:

  • a valid Azure App Registration
  • the ability to set environment variables via .env
  • access to Microsoft Graph API

Setup steps after Installation

  1. Create a .env file inside your Kimai installation and add:
GRAPH_TENANT_ID=
GRAPH_CLIENT_ID=
GRAPH_CLIENT_SECRET=

If you are using Docker, add the variables to your docker-compose.yml file or set the following flags

-e GRAPH_TENANT_ID=''
-e GRAPH_CLIENT_ID=''
-e GRAPH_CLIENT_SECRET=''

when starting the container.

  1. Configure the desired team and folder path under:
    Kimai → System → Microsoft Teams

  2. Run the sync command if needed:

bin/console ms-teams:sync-folders

This creates all customer and project folders with your selected Microsoft Team.

相容性

下表比較了外掛程式與所需的最低 Kimai 版本。

套件版本 最低 Kimai 版本
1.0.0 2.44.0

安裝

複製檔案

Extract the ZIP file and upload the included directory and all files to your Kimai installation to the new directory:

var/plugins/TeamsIntegrationBundle/

The file structure needs to look like this afterwards:

var/plugins/
├── TeamsIntegrationBundle
│   ├── TeamsIntegrationBundle.php
|   └ ... more files and directories follow here ...

清除快取

After uploading the files, Kimai needs to know about the new plugin. It will be found once the cache was re-built. Call these commands from the Kimai directory:

How to reload Kimai cache

bin/console kimai:reload --env=prod

It is not advised, but in case the above command fails you could try:

rm -r var/cache/prod/*

You might have to set file permissions afterwards:

Adjust file permission

You have to allow PHP (your webserver process) to write to var/ and it subdirectories.

Here is an example for Debian/Ubuntu, to be executed inside the Kimai directory:

chown -R :www-data .
chmod -R g+r .
chmod -R g+rw var/

You might not need these commands in a shared-hosting environment. And you probably need to prefix them with sudo and/or the group might be called different from www-data.

建立資料庫

Run the following command:

bin/console ms-teams:sync-folders

This will create the required database tables and update them to the latest version.

更新

Updating the plugin works exactly like the installation:

  • Delete the directory var/plugins/TeamsIntegrationBundle/
  • Execute all installation steps again:
    • 複製檔案
    • 清除快取
    • Update database with bin/console ms-teams:sync-folders

使用截圖

Screenshot
Configuration screen for the Teams Integration plugin
Screenshot
Example of created folders in Microsoft Teams
提供者

Klein IT Solutions

Software & IT Solutions

如果您有任何問題,請透過以下聯絡資訊直接與此開發者聯繫。
Top