Skip to content

PowerShell scripts for manging Office 365 Groups and Microsoft Teams (Ignite-PowerShell-Masterclass)

License

Notifications You must be signed in to change notification settings

EMarcais/Ignite-PowerShell-Masterclass

 
 

Repository files navigation

Office 365 Groups and Microsoft Teams PowerShell MasterClass

Demos by atwork-it.com. Contributors: Martina Grom, Toni Pohl

Management of Office 365 and Microsoft Teams can be done in a lot of ways. The following scripts show essential PowerShell scripts you need to manage your Office 365 Groups and Microsoft Teams at scale. You must be a Global Administrator in the Microsoft 365 tenant to run all scripts. These are the updated scripts of November 2019. Use and adapt the scripts as required.

Required PowerShell modules

You get the latest PowerShell modules from the PowerShell Gallery or remotely:

Install the modules

Use the following commands to install the PowerShell modules in an environment (as Administrator) or for your current user with the command as here:

Install-Module -Name MicrosoftTeams -Force -AllowClobber -scope CurrentUser
Install-Module -Name AzureADPreview -Force -AllowClobber -scope CurrentUser
# Update-Module -Name AzureADPreview -Force -AllowClobber

Run the scripts anywhere

You can use the scripts on your computer with the required modules installed, or in Azure Automation Accounts or Azure Functions as well - in all environments, where Microsoft PowerShell is supported. To start with Azure Automation Accounts, check out Create an Azure Automation account.

Structure of the scripts

The scripts show demos how to manage Office 365 Groups and Microsoft Teams in an Office 365 tenant. The scripts can be used as start for adapting your custom Office 365 tenant management. To make it easy to follow, the scripts are numbered by topic.

Cross-Reference

For developers

Alternatively, developers can use the Microsoft Graph for accomplishing similar tasks. Check the group properties with Graph Explorer aka.ms/ge, similar like here:

Have a good Office 365 Groups and Teams management with these PowerShell scripts!

About

PowerShell scripts for manging Office 365 Groups and Microsoft Teams (Ignite-PowerShell-Masterclass)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%