Skip to main content

One post tagged with "PowerShell"

PowerShell

View All Tags

Retirement of -Credential parameter when connecting to Exchange Online PowerShell

· 5 min read
Giovanni Solone
Former Batman, co-founder of Marvellous Codeworks, dad of Nebula modules

Introduction

Microsoft is retiring the -Credential parameter used when connecting to Exchange Online PowerShell. Starting with module versions released in July 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).