M365Connect

1.0.1

Connect to Microsoft 365 services with a single command. Supports PowerShell 5.1 and 7+, interactive authentication, stored credentials, and service principal/app registration authentication.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name M365Connect

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name M365Connect

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) nikkelly. All rights reserved.

Package Details

Author(s)

  • nikkelly

Tags

Microsoft365 Azure Teams Exchange SharePoint AzureAD Graph Intune Office365

Functions

Connect-MSTeams Connect-MSExchange Connect-MSExchangeServer Connect-MSAzureAD Connect-MSGraph Connect-MSSharePoint Connect-MSSecurityCompliance Connect-MSIntune Connect-AllMSServices Disconnect-AllMSServices Add-MSAccount Remove-MSAccount Add-MSAppRegistration Remove-MSAppRegistration Add-MSMFA Remove-MSMFA Get-MSConnectionStatus Show-MSCommands

PSEditions

Desktop Core

Dependencies

This module has no dependencies.

Release Notes

## 1.0.1
- Fix missing Public/Private folders in published package

## 1.0.0
- Initial release on PowerShell Gallery
- PowerShell module format (.psd1 / .psm1) with Public/Private function layout
- PowerShell 5.1 and 7+ support with Microsoft Graph fallback for deprecated modules
- Service principal/app registration authentication (certificate or client secret)
- Interactive and stored credential authentication with optional MFA
- Connection tracking and status reporting via Get-MSConnectionStatus
- Backward-compatible aliases for all original commands
- Deprecation warnings for AzureAD and MSOnline modules

FileList

Version History

Version Downloads Last updated
1.0.1 (current version) 9 2/8/2026
1.0.0 3 2/8/2026