9cc6d03794392ad9bf2c161231c4400fbffa6a96
Import-TeamsUsers
A Powershell script that imports users from a CSV into a Microsoft Teams team.
Setup
You'll need to do a few things before you can run the script:
- Have a CSV file. This needs to be in the format
email,role. You can copy the template if required. - Install the module. Run
Install-Module -Name MicrosoftTeamsin your Powershell terminal. - Import the module. Run
Import-Module -Name MicrosoftTeamsin your Powershell terminal. - Authenticate to the API. Run
Connect-MicrosoftTeamsin your Powershell terminal.
How to use
Open Import-TeamsUsers.ps1 and modify the $GroupId and $File variables at the bottom, then execute the script from the command line.
Issues?
If you're having problems or have an idea for a new feature, please check here to see if someone else is having the same problem, 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%