Microsoft 365 Message Center

MC1248389 | (Updated) Retirement of -Credential parameter when connecting to Exchange Online PowerShell

Service
Exchange Online
Last Updated
2026-07-15T21:15:44.313Z
Published
2026-03-10T22:46:28Z
Message ID
MC1248389

Updated July 15, 2026: We have updated the timeline. Thank you for your patience. [Introduction] Microsoft is retiring the -Credential parameter used when connecting to Exchange Online PowerShell. Starting with module versions released in December 2026 and later, the -Credential parameter will be removed from both Connect-ExchangeOnline and Connect-IppsSession cmdlets. Organizations using this parameter in automation scripts must migrate to a supported authentication method before that date. This change improves security by moving away from legacy authentication methods that do not support modern protections such as multifactor authentication (MFA). [When this will happen:] • The -Credential...

Open Full Notification Browse Message Center

This utility page supports direct lookup of Message Center ID MC1248389.