From d45f1fa0aefada94949ab9c5e84984d2243e0ffa Mon Sep 17 00:00:00 2001 From: Fei Guo Date: Tue, 24 Nov 2026 19:23:43 +0000 Subject: [PATCH 1/2] Document interactive sign-in security change Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 15 ++++++++++++++ docs/authentication.md | 45 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/README.md b/README.md index 8fe2abe7e03..dc2dfd02760 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,21 @@ The Microsoft Graph PowerShell SDK is made up of a set of modules that enable yo License

+## Upcoming browser-based interactive sign-in security change + +> [!IMPORTANT] +> Starting February 23, 2027 at 11:00 a.m. Pacific Standard Time (7:00 p.m. Coordinated Universal Time), Microsoft plans to require a more secure browser response for interactive sign-in through the default Microsoft Graph PowerShell application. + +You must upgrade to Microsoft Graph PowerShell version 2.37.0 or later before enforcement if all the following conditions apply: + +- You use Microsoft Graph PowerShell version 2.36.0 or earlier. +- You use browser-based interactive sign-in. +- You use the default Microsoft Graph PowerShell application. + +Otherwise, sign-in or reauthentication will fail and Microsoft Graph PowerShell won't obtain an access token. Windows brokered sign-in, device code authentication, application-only authentication, customer-owned application registrations, and access tokens supplied by the caller aren't directly affected. + +For update and validation instructions, see [Authentication](./docs/authentication.md#upcoming-browser-based-interactive-sign-in-security-change). + ## Modules This repository publishes complete bundle modules, the authentication module, and scenario-specific modules for the Microsoft Graph v1.0 and beta endpoints. For faster installation and import, prefer the scenario-specific modules you need instead of the complete `Microsoft.Graph` and `Microsoft.Graph.Beta` bundle modules. The bundle modules install all their respective scenario-specific modules as dependencies. diff --git a/docs/authentication.md b/docs/authentication.md index afb4d95fdf1..381875bed5f 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -5,6 +5,51 @@ The Microsoft Graph PowerShell module supports two types of authentication: - Delegated Access - App-only Access +## Upcoming browser-based interactive sign-in security change + +> [!IMPORTANT] +> Starting February 23, 2027 at 11:00 a.m. Pacific Standard Time (7:00 p.m. Coordinated Universal Time), Microsoft plans to require a more secure browser response for interactive sign-in through the default Microsoft Graph PowerShell application. + +You're affected only if all the following conditions apply: + +- You use Microsoft Graph PowerShell version 2.36.0 or earlier. +- You use browser-based interactive sign-in. +- You use the default Microsoft Graph PowerShell application, **Microsoft Graph Command Line Tools**, application ID `14d82eec-204b-4c2f-b7e8-296a70dab67e`. + +If all three conditions apply, upgrade to Microsoft Graph PowerShell version 2.37.0 or later before enforcement. Otherwise, sign-in or reauthentication will fail and Microsoft Graph PowerShell won't obtain an access token. + +Check the installed authentication module: + +```PowerShell +Get-Module Microsoft.Graph.Authentication -ListAvailable | + Sort-Object Version -Descending | + Select-Object Name, Version, Path +``` + +Update the complete Microsoft Graph PowerShell module: + +```PowerShell +Update-Module Microsoft.Graph +``` + +If you installed only the authentication module, update it directly: + +```PowerShell +Update-Module Microsoft.Graph.Authentication +``` + +Close and reopen PowerShell after updating. Then validate browser-based interactive sign-in and the commands your organization relies on. + +The following authentication methods and configurations aren't directly affected: + +- Windows brokered sign-in +- Device code authentication +- Application-only authentication with a certificate, client secret, or managed identity +- Customer-owned application registrations +- Access tokens obtained outside Microsoft Graph PowerShell and supplied by the caller + +For updates and known issues, follow [GitHub issue #3629](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3629). + ## Delegated Access Delegated access uses a public client to get an access token and consume Microsoft Graph resources on behalf of the signed-in user. From 5c2977962f9e0a291abb951d581e170c0cea7846 Mon Sep 17 00:00:00 2001 From: Fei Guo Date: Tue, 24 Nov 2026 22:08:02 +0000 Subject: [PATCH 2/2] Keep Learn content in its source repository Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docs/authentication.md | 45 ------------------------------------------ 1 file changed, 45 deletions(-) diff --git a/docs/authentication.md b/docs/authentication.md index 381875bed5f..afb4d95fdf1 100644 --- a/docs/authentication.md +++ b/docs/authentication.md @@ -5,51 +5,6 @@ The Microsoft Graph PowerShell module supports two types of authentication: - Delegated Access - App-only Access -## Upcoming browser-based interactive sign-in security change - -> [!IMPORTANT] -> Starting February 23, 2027 at 11:00 a.m. Pacific Standard Time (7:00 p.m. Coordinated Universal Time), Microsoft plans to require a more secure browser response for interactive sign-in through the default Microsoft Graph PowerShell application. - -You're affected only if all the following conditions apply: - -- You use Microsoft Graph PowerShell version 2.36.0 or earlier. -- You use browser-based interactive sign-in. -- You use the default Microsoft Graph PowerShell application, **Microsoft Graph Command Line Tools**, application ID `14d82eec-204b-4c2f-b7e8-296a70dab67e`. - -If all three conditions apply, upgrade to Microsoft Graph PowerShell version 2.37.0 or later before enforcement. Otherwise, sign-in or reauthentication will fail and Microsoft Graph PowerShell won't obtain an access token. - -Check the installed authentication module: - -```PowerShell -Get-Module Microsoft.Graph.Authentication -ListAvailable | - Sort-Object Version -Descending | - Select-Object Name, Version, Path -``` - -Update the complete Microsoft Graph PowerShell module: - -```PowerShell -Update-Module Microsoft.Graph -``` - -If you installed only the authentication module, update it directly: - -```PowerShell -Update-Module Microsoft.Graph.Authentication -``` - -Close and reopen PowerShell after updating. Then validate browser-based interactive sign-in and the commands your organization relies on. - -The following authentication methods and configurations aren't directly affected: - -- Windows brokered sign-in -- Device code authentication -- Application-only authentication with a certificate, client secret, or managed identity -- Customer-owned application registrations -- Access tokens obtained outside Microsoft Graph PowerShell and supplied by the caller - -For updates and known issues, follow [GitHub issue #3629](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3629). - ## Delegated Access Delegated access uses a public client to get an access token and consume Microsoft Graph resources on behalf of the signed-in user.