Load and log in to all O365 modules

Created a short script to load and log in to all O365 modules.
No need to remeber all the details every time. Create a script for each customer you administrate.

The script can be found on TechNet:


# Before you begin
# Before you can manage all of Office 365 from a single instance of Windows PowerShell, consider the following prerequisites:
# The Office 365 work or school account that you use for these procedures needs to be a member of the Office 365 Global admin role. This a requirement for Office 365 PowerShell, not necessarily for all other Office 365 services. For more information about permissions in Office 365, see Permissions in Office 365.
# You can use the following 64-bit versions of Windows:
# Windows 8.1 or Windows 8
# Windows Server 2012 R2 or Windows Server 2012
# Windows 7 Service Pack 1 (SP1)*
# Windows Server 2008 R2 SP1*
# * You need to install the Microsoft .NET Framework 4.5.x and then either the Windows Management Framework 3.0 or the Windows Management Framework 4.0.
# For more information, see Installing the .NET Framework (http://go.microsoft.com/fwlink/p/?LinkId=257868) and Windows Management Framework 3.0 (http://go.microsoft.com/fwlink/p/?LinkId=272757)
# or Windows Management Framework 4.0(http://go.microsoft.com/fwlink/p/?LinkId=391344).
# You need to use a 64-bit version of Windows because of the requirements for the Skype for Business Online module and one of the Office 365 modules.
# You need to install the modules that are required for Office 365, SharePoint Online, and Skype for Business Online:
# Microsoft Online Service Sign-in Assistant for IT Professionals RTW (http://go.microsoft.com/fwlink/p/?LinkId=286152)
# Windows Azure Active Directory Module for Windows PowerShell (64-bit version) (http://go.microsoft.com/fwlink/p/?linkid=236297)
# SharePoint Online Management Shell (http://go.microsoft.com/fwlink/p/?LinkId=255251)
# Skype for Business Online, Windows PowerShell Module (http://go.microsoft.com/fwlink/p/?LinkId=532439)
# Windows PowerShell needs to be configured to run signed scripts for Skype for Business Online, Exchange Online, and the Security & Compliance Center. To do this, run the following command in an elevated Windows PowerShell session (a Windows PowerShell window you opened by selecting Run as administrator).
# Set-ExecutionPolicy RemoteSigned

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s