Skip Ribbon Commands
Skip to main content

Quick Launch

Todd Klindt's home page > Todd Klindt's Office 365 Admin Blog > Posts > Office 365 PowerShell Module Installs
April 01
Office 365 PowerShell Module Installs

One of the first things I do when I set up a new machine is install all of the PowerShell modules I need to manage Office 365. Since there are so many different modules, and they update so often, I put them all in this blog post so you (and I) have one place to go to to grab them I’ll. I’ll also keep the versions updated so you’ll know if you need to update them.

For each of the modules I have listed the official page if there is one, and a PowerShell command you can run to install it from the PowerShell Gallery.

To see which modules you have installed and which version they are run this:

Get-InstalledModule | select name, version

To suppress the warning you get when installing from the PowerShell Gallery, run this:

Set-PSRepository -Name PSGallery -InstallationPolicy Trusted

To update to latest version of a module use the Update-Module cmdlet.

Official Microsoft Modules

Sign-in assistant (needed for MSOL and AzureAD Modules)

Microsoft Online (1.1.183.17)
Original Tenant Directory Management
Prefix: MSOL
Install-Module -Name MSOnline

AzureAD (2.0.2.16)
Newer Tenant Directory Management
Prefix: AzureAD
Install-Module azuread

AzureADPreview (2.0.2.17)
Latest Tenant Directory Management
Prefix: AzureAD
Install-Module -Name AzureADPreview

SharePoint Online (16.0.8924.1200)
Manage SharePoint sites and related services
Prefix: SPO
Install-Module -Name Microsoft.Online.SharePoint.PowerShell

Teams
Microsoft Teams Management Preview (0.9.6) ​
(uses Graph beta/preview APIs)
Prefix: Team
Install-Module -Name MicrosoftTeams -RequiredVersion 0.9.6

Microsoft Teams Management (1.0)
(uses 1.0 Graph API)
 
Prefix: Team 
Install-Module -Name MicrosoftTeams

Skype for Business  
(No PowerShell module install from Gallery)

Exchange Online
(No local install)

Flow and PowerApps (1.0.6 & 2.0.3) 
Flow and PowerApps management 

Prefix: No Prefix (Boooo!)
Install-Module -Name Microsoft.PowerApps.PowerShell
Install-Module -Name
Microsoft.PowerApps.Administration.PowerShell –AllowClobber
(First module works for user, add the second module for Admin management cmdlets)

3rd Party Installs

SharePoint PnP PowerShell (3.10.1906.0)
Essential to manage SharePoint and related technologies
Install-Module SharePointPnPPowerShellOnline

Credential Manager (2.0)
Used to create and retrieve Windows Stored Credentials
Install-Module credentialmanager

Last Updated 6/7/2019

I hope this comes in handy. Let me know if there are any other modules I should consider adding.

tk

ShortUrl: https://www.toddklindt.com/POSHOffice365Modules

Comments

Added to builds list?

It would be great to have this list ongoing. You should start a list (with all that free time, lol) of these that we can access like the SharePoint builds. Just a thought....
Thanks Todd! -BJ
 on 4/9/2019 12:44 PM

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


Today's date *

Select a date from the calendar.
Please enter today's date so I know you are a real person

Twitter


Want a message when I reply to your comment? Put your Twitter handle here.

Attachments

 

 SysKit