PowerShell Gallery Version (including pre-releases) PowerShell Gallery

Azure DevOps builds (master) Azure DevOps tests (master)

GitHub milestone GitHub pull requests GitHub issues GitHub closed issues


Powershell module to connect to all MS365 services and install required modules or packages.


Did you ever the experience that it's complicated to deal with multiple of the different Microsoft cloud-based services and have to remember the specific modules to add, commands to use to connect? So did I and found myself always looking them up again and again, especially for those used more rarely.

That's all what this module is about: it delivers one central CmdLet function which can be executed to connect to one or many of Microsoft's services and you don't have to care about the single service connection commands. Additionally it checks and installs the right modules or packages if necessary.

It is inspired by Connect-Office365 by Bradley Wyatt which I found and used for a while. As it wasn't published it was something I had to keep and distribute again and again. Additionally I wanted to add some advanced functions like installing and updating the dependant Microsoft modules.


See the docs directory for full documentation.

  • Release Notes: RELEASENOTES.md Previous Versions: 00-RELEASENOTES.md
  • Installation: 01-INSTALLATION.md
  • Usage: 02-USAGE.md


Connect-MS365 is licensed under terms of GNU Lesser General Publice License (LGPL) v3.0. For further information see LICENSE file.


As this is my pretty first public PS module project I share, please feel free to comment, feedback and contribute to this.


I use the following toolstake to develop and distribute this module:

  • PSdepend - defining depencies within the build process, so that they can be installed automatically when needed
  • Pester - for simple testing
  • psake - task automation for the build process

For further details please see 03-CONTRIBUTE


Connect Ms365

Powershell module to connect to all MS365 services and install required modules or packages.

Connect Ms365 Info

⭐ Stars 14
🔗 Source Code github.com
🕒 Last Update 9 months ago
🕒 Created a year ago
🐞 Open Issues 6
➗ Star-Issue Ratio 2
😎 Author blindzero