Skip to content
Contact us

Installing the SMART Migration server for Microsoft Teams

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.

Details to be confirmed

What the Teams app is, how the server connects to it and the trial terms for the Teams app are not yet described. The sections below hold the steps shared with the other platforms; Connect to the Microsoft Teams app is still empty.

  • A Windows machine or VM. See System 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 How to create and configure the app registration
  • A SMART Migration partner. The Microsoft Teams app requires one. The installer and the licence key come from your partner. Your partner provides both the free trial key and, later, the production key. See Partner role

SMART Migration has two components, the SMART Migration IDE and the SMART Migration server. One installer, setup.exe, installs both automatically.

  1. Run setup.exe

    Start setup.exe as an administrator: you must be a local administrator on the machine to run it. Sign in with the account described above. It also installs what SMART Migration needs (the Visual C++ runtimes, WebView2, the Access Database Engine 2016, .NET Desktop Runtime 8.0 and the ODBC Driver 18 for SQL Server) when the machine has internet access. On a machine without internet access, install these components by hand before you run setup.exe: see Required components, automatically installed when there is internet access.

  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.

Details to be confirmed

Where in SMART Migration the team is chosen, which lists and libraries are created, and the first check are not yet described.

Read more: Microsoft Teams App · Licences and editions