78311a0fcbd8abf6ac53b352170c4196c590576e
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. If you're on Windows, you'll already have this. If not, please download it from the releases page. Once you've got PowerShell:
- Open PowerShell as an administrator.
- Allow remote scripts to execute by running
Set-ExecutionPolicy RemoteSigned. If you don't do this, the script won't run. - Install the Microsoft Teams module. To do this, run
Install-Module -Name MicrosoftTeams. Accept any prompts that you are given.
Running the script
- Download the repository to your PC.
- Create a CSV file in the format
email,role. The first line must be the headersemail,role. You can copy the template if required. - Open PowerShell and change directory (
cd) to the directory where you downloaded the repository. - Import the module (
Import-Module ./Import-TeamsUsers.psm1). - Run
Import-TeamsUsers -File <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 steps 3 and 4 above). 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
Releases
8
Version 2.2.1
Latest
Languages
PowerShell
100%