Skip to content
Contact us

Install the server for Teams

Microsoft Teams logo

The SMART Migration server is the Windows program that does the work for the Microsoft Teams app. This topic takes it from nothing installed to a server connected to the Teams app.

  • A Windows machine or VM. See Hardware/VM requirements
  • A Windows service account to install and run SMART Migration with (recommended). Install and start SMART Migration for the first time with the account that will run the server as a Windows service: the database permissions then work without any manual setup. For a demo or test, any Windows account will do — accept the defaults.
    • File shares: jobs run under the server's service account, so it needs access permission to every file share the jobs reference.
    • High-security environments: the server can run under a separate account from the SMART Migration Windows UI.
  • A new, dedicated Microsoft Teams team. Create it before you connect. SMART Migration manages all its jobs there, so do not use an existing team.
  • An Entra ID app registration with a certificate. See Create an M365 app registration
  • A SMART Migration partner. The Microsoft Teams app requires one. The installer and the licence key come from your partner. See Partner role

SMART Migration has two components, the SMART Migration IDE and the SMART Migration server. One installer installs both automatically: the file SMARTMigration<version><GA or Preview>.exe, for example SMARTMigration7.98.12GA.exe. What it asks, page by page, and what it does: The SMART Migration installer

A full installation typically takes about 35 minutes, and you do not have to be there: it runs unattended. The heavy installers are SQL Server, Power BI and PostgreSQL. More in How long it takes.

  1. Run the installer

    Start the installer as an administrator: you must be a local administrator on the machine to run it. Sign in with the account described above. On the Initial Configuration page, choose Microsoft Teams App. The installer also installs what SMART Migration needs (the Visual C++ runtimes, WebView2, the Access Database Engine 2016, .NET Desktop Runtime 8.0 and 10.0 and the ODBC Driver 18 for SQL Server) when the machine has internet access. Without internet access, it lists the components that are missing, with their download links: install them by hand and choose Refresh prerequisites — see Without an internet connection.

  2. SQL Server Express 2025: keep or opt out

    SQL Server Express 2025 holds the repository, where SMART Migration keeps its working data. Keep it selected for the simplest setup. If you opt out, you need a SQL Server you can connect to at the first start; see the first start below.

  3. PostgreSQL: keep or opt out

    PostgreSQL holds the BI data and is required for Microsoft Teams. Leave it selected and it is installed on this machine — the recommended choice. If you leave it out, you must set up a PostgreSQL database server yourself later. Either way the choice is not important: the BI database can be moved to another server afterwards.

How the server runs: embedded in the IDE — when the IDE starts, the server (flowserver.exe) starts with it in the same Windows session — or as a Windows service under a service account, which must then have access to the database. The IDE and the server may run under separate Windows accounts for extra security. For a first setup, run everything under one account.

  1. Start SMART Migration and choose the initial setup

    Start SMART Migration with the account described under the prerequisites. Starting it with elevated permissions, as administrator, is optional: it is only required for the advanced setup of a Windows service to run the jobs (step 4). It asks which configuration to use, under Select initial setup. Choose Microsoft Teams App.

    The choice selects a database template that holds all the setup needed to work with the Teams team. It is a ready-made, general setup of the kind you could build yourself: the app's processing is built from standard components in the IDE. That also lets you take ownership of the setup if you need customisations, because the whole IDE with all its functionality is available to you.

  2. Connect the repository database

    With SQL Server Express from the installer: nothing to do — the repository is connected automatically. The database is named SMARTMigrationTeams, and its files are in the folder %Public%\SMARTMigration_SQLServer.

    With a SQL Server of your own (fully supported, but set up by hand): before the first start, create a database on the server and restore the template SMARTMigrationTeams.bak onto it — the same template that Microsoft Teams App selects in step 1; it is SMARTMigrationTeams.bak, in SMART Migration's program folder. Make sure the Windows account that runs SMART Migration — and the service account, if the server runs as a Windows service — has dbo access to the database, for example in SQL Server Management Studio. Then enter the server and database when SMART Migration asks.

  3. Enter the licence key

    Once the database is connected, a prompt appears. Enter the licence key.

    If the machine has no internet access, use offline registration: choose Request offline key. Notepad opens with the steps to take to obtain your offline key.

  4. Optional: run the server as a Windows service

    This is not required. The server runs automatically inside the SMART Migration UI — the IDE, which is always available in every configuration, though not used day to day in a standard Microsoft Teams setup. To run it as a Windows service instead:

    1. Start SMART Migration with elevated permissions, as administrator — a Windows requirement, even when your account is a local administrator. If you did not start SMART Migration with elevated permissions, restart the program.
    2. Open the Account module and its General tab.
    3. Choose Windows service configuration in the ribbon bar and select Run the job server as a Windows service.

    What happens: a native Windows service is created, set to start automatically. Windows manages it and it follows all Windows service requirements. Start and stop it in the Windows services administrator.

    Important

    The service account must have access to the database and to any file shares the jobs reference; see the prerequisites.

Connect the server to the dedicated team. SMART Migration then sets the team up: it creates a number of lists and libraries in the team, and shortcuts to the artifacts it creates in Teams itself. Job management is handled in this team.

Allow about 10 minutes

Creating the lists and libraries takes approximately 10 minutes. Wait for it to finish before you start working in the team.

Read more: Set up the server for Teams · Microsoft Teams · Setup: Antivirus Exclusions · Licences and editions