Skip to main content

A secure command line tool for bulk importing Deakin students to MicrosoftTeams

Project description

teams-import

A secure Powershell wrapper tool to securely bulk import students to Microsoft Teams.

Features

  • Uses secure Microsoft authentication, doesn't store any authentication tokens.
  • Can bullk import students to multiple teams.
  • Configuration based: Simply provide CSV(s) with the student emails to import.

Requirements

  • Currently MacOS only
  • Powershell installed: Install Powershell on MacOS
  • A Deakin University email address which is a member of the Microsoft Team(s) you are looking to import students to.
  • A directory, containing CSV file(s). The files must have the unit ID as the name of the file. For example:
/unit-csvs/sit102.csv
/unit-csvs/sit111.csv

CSV Format

  • A single column CSV with the title "email", followed by the list of student deakin emails which will be imported.

Usage

  1. Install Powershell for MacOS: Install Powershell on MacOS

  2. Run the tool:

teams-import [OPTIONS] CSV_DIR EMAIL

example:

teams-import ./unit-csvs jake.renzella@deakin.edu.au

  1. Follow the command line instructions and authenticate the teams Powershell environment. You will see a line like the following:

WARNING: To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code XXXXXXXX to authenticate.`

Open the link, log in, and authenticate with the code.

Note, currently you will have to authenticate two seperate times. One to generate the list of teams to import, and another to actually perform the import.

  1. Once authenticated, the command line will try and import the students. Note: for large units, the import may take several minutes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

teams-import-1.0.8b3.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

teams_import-1.0.8b3-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file teams-import-1.0.8b3.tar.gz.

File metadata

  • Download URL: teams-import-1.0.8b3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for teams-import-1.0.8b3.tar.gz
Algorithm Hash digest
SHA256 1773e982dc9318d60cb4ece8fc0f141fce637821c7dc93ed3bbbb7a2d6010cc1
MD5 9fb344fa9714652dd44535fec5c89d9b
BLAKE2b-256 46cd2fadfb33e7a93e13975e1a757645315f34b8ca24cf0ed864d8baab103f39

See more details on using hashes here.

File details

Details for the file teams_import-1.0.8b3-py3-none-any.whl.

File metadata

  • Download URL: teams_import-1.0.8b3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for teams_import-1.0.8b3-py3-none-any.whl
Algorithm Hash digest
SHA256 434d4fef435a4a6c3c7490a0a0e10c238e4bd9d177028ea24d2496538c28355e
MD5 afdb6547bbd039621f0ee59ce41bfbf0
BLAKE2b-256 a584e102f4d4bb95b52820df37d818babbe1aa6ce32d5eabab6b13e20442ed40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page