https://github.com/luketainton/teamsuserenroller
A Powershell module that imports users from a CSV into a Microsoft Teams group.
https://github.com/luketainton/teamsuserenroller
microsoft microsoft-teams teams
Last synced: over 1 year ago
JSON representation
A Powershell module that imports users from a CSV into a Microsoft Teams group.
- Host: GitHub
- URL: https://github.com/luketainton/teamsuserenroller
- Owner: luketainton
- Created: 2020-02-27T17:16:24.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2020-11-04T15:45:30.000Z (over 5 years ago)
- Last Synced: 2025-01-24T10:14:13.956Z (over 1 year ago)
- Topics: microsoft, microsoft-teams, teams
- Language: PowerShell
- Homepage: https://www.powershellgallery.com/packages/TeamsUserEnroller
- Size: 32.2 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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**](https://github.com/PowerShell/PowerShell/releases).
1. Open PowerShell as an administrator.
1. 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:
```csv
email,role
jbloggs@example.com,owner
user@example.com,member
```
1. Run `Import-TeamsUsers -File `, where `` 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
```powershell
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`.
1. Check closed issues [here](https://github.com/luketainton/Import-TeamsUsers/issues?q=is%3Aissue+sort%3Aupdated-desc+is%3Aclosed).
1. Open an issue [here](https://github.com/luketainton/Import-TeamsUsers/issues/new).