2026-01-05 13:48:28 +00:00
2026-01-05 13:42:22 +00:00
2026-01-05 13:42:22 +00:00
2026-01-05 13:48:28 +00:00
2020-08-07 23:17:24 +01:00
2020-08-07 23:17:24 +01:00

TeamsUserEnroller

A Powershell module that imports users from a CSV into a Microsoft Teams group.

Setting up your device

This module uses PowerShell, which is pre-installed on Windows. If you're not on Windows, please download PowerShell Core.

  1. Open PowerShell as an administrator.
  2. Install this module by running Install-Module -Name TeamsUserEnroller.

Running the script

  1. Create a CSV file containing your users and their desired roles. The first line must be the headers email,role, for example:
    email,role
    jbloggs@example.com,owner
    user@example.com,member
    
  2. Run Import-TeamsUsers -File <FILE>, where <FILE> is the path to the CSV file. You can add the -Create flag if you want to create a new team first.

If you can't run non-signed scripts

If your policy requires scripts to be digitally signed, run

Set-ExecutionPolicy Bypass -Scope Process

then try running the command again. You may require administrative rights to change the Execution Policy.

Need help?

If you need assistance, please try the following:

  1. See the help documentation by running Get-Help Import-TeamsUsers.
  2. Check closed issues here.
  3. Open an issue here.
Description
A Powershell module that imports users from a CSV into a Microsoft Teams group.
Readme 133 KiB
Version 2.2.1 Latest
2020-08-07 22:17:24 +00:00
Languages
PowerShell 100%