When installed properly (see 01-INSTALLATION.md), the module Connect-MS365 should be automatically available within your system.
Start Connect-MS365 by using
Connect-MS365 -Service <list of services> [-SPOOrgName <name of sharepoint org>]
The service you want to connect is selected by -Service
parameter, followed by one of the supported services
-
MSOL - Microsoft Online / Azure ActiveDirectory
Uses MSOnline module to connect to basic Microsoft Online services.
See the CmdLet reference for all available commands.
-
EOL - Microsoft Exchange
Uses ExchangeOnlineManagement (Exchange Online PowerShell v2) module to connect to Microsoft Exchange Online.
Old plain Remote PowerShell connections are not supported anymore! Please see the documentation for the new CmdLets available.
-
Teams - Microsoft Teams
Uses MicrosoftTeams module to connect to Microsoft Teams.
See the CmdLet reference for all available commands.
-
SPO - Microsoft SharePoint Online
Uses Microsoft.Online.SharePoint.PowerShell module to connect to Microsoft Teams.
Needs additional -SPOOrgName parameter.
See the CmdLet reference for all available commands.
-
SCC - Office365 Security & Compliance Center
Uses ExchangeOnlineManagement (Exchange Online PowerShell v2) module to connect to Office365 Security & Compliance Center.
Old plain Remote PowerShell connections are not supported anymore! Please see the documentation for the new CmdLets available.
-
AAD - Microsoft Azure ActiveDirectory / AzureAD
Uses AzureAD module to connect to Microsoft Azure ActiveDirectory.
See the CmdLet reference for all available commands.
-
AZ - Microsoft Azure Platform
Uses Az module to connect to Microsoft Azure ActiveDirectory.
See the CmdLet reference for all available commands.
-
S4B - Microsoft Skype for Business (credits to RasmusAaen)
Uses SkypeOnlineConnector module to connect to Microsoft Skype for Busines. As SkypeOnlineConnector is not published on powershellgallery.com it must be installed manually if not available.
See the CmdLet reference for all available commands.
By version 1.1.0 modern authentication usage is default, incl. MFA functionality. Passing PSCredential object was removed.
When connecting the necessary module is checked and can be installed autoamtically if not available. No manual installation of modules...yah!
For each module invocation the online available version is checked. If a newer version is available, user is prompted for (optional) update.
For configuration see 03-CONFIGURATION.md.
For further details see Connect-MS365.md