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. You can use the technique in this blog post, PowerShell to Update ​your PowerShell Modules​​​, to see which version you have and whether it's the latest. 

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.52)
Newer Tenant Directory Management
Prefix: AzureAD
Install-Module -Name azuread

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

SharePoint Online (16.0.19418.12000)
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.2)
(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.9 & 2.0.21) 
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.15.1911.0​)
Essential to manage SharePoint and related technologies
Install-Module -Name SharePointPnPPowerShellOnline

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

Last Updated 11/8/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

AT&T Support

Nice Post. I have been here reading for about an hour. I am a newbie and your success is very much an inspiration for me. For instant support related to the AT&T Email Not Working Error please contact Our team for the best solution.
 on 10/17/2019 4:37 AM

Im glad I finally registered

Hey! I know this is sort of off-topic but I had to ask.
Does managing a well-established blog such as yours take
a large amount of work? I am completely new to blogging but I do write in my diary every day.
I'd like to start a blog so I will be able to share my experience and
thoughts online. Please let me know if you have any suggestions or tips for brand new aspiring bloggers.
Thankyou!
 on 10/29/2019 10:17 AM

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