2020-04-18 20:07:09 +01:00
2020-03-24 20:00:10 +00:00
2020-03-30 15:59:17 +01:00

Import-TeamsUsers

A Powershell script that imports users from a CSV into a Microsoft Teams team.

Setting up your device

This script runs via PowerShell, which is pre-installed on Windows. If you're not on Windows, please download PowerShell Core here. Once you've got PowerShell:

  1. Open PowerShell as an administrator.
  2. Allow remote scripts to execute by running Set-ExecutionPolicy RemoteSigned. If you don't do this, the script won't run.
  3. Install the Microsoft Teams module. To do this, run Install-Module -Name MicrosoftTeams. Accept any prompts that you are given.
  4. Install this module by running Install-Module -Name Import-TeamsUsers. Accept any prompts that you are given.

Running the script

  1. Create a CSV file in the format email,role. The first line must be the headers email,role. You can copy the template if required.
  2. Open PowerShell and run Import-TeamsUsers -File <FILE>, where <FILE> is the full path to the CSV file.

Need help?

If you require assistance running the script, see the help by executing Get-Help Import-TeamsUsers (requires importing the module first - see step 4 in Setting up your device). If you still need help, please send me an email.

Issues? Want a new feature?

If you're having problems with the script or have an idea for a new feature, please check here to see if someone else has the same problem or suggestion, and open an issue if one doesn't already exist. If you can implement a fix or feature request, please file a pull request!

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%