Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 10 days ago
JSON representation

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

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
[email protected],owner
[email protected],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).