From 0dfd61777eda228a3ac2d9ee3ea5d18862463ae4 Mon Sep 17 00:00:00 2001 From: Peter Ombwa Date: Tue, 12 Dec 2023 16:29:22 -0800 Subject: [PATCH] Revert bugfix 2455. --- config/ModuleMetadata.json | 6 +++--- .../Authentication/Cmdlets/InvokeMgGraphRequest.cs | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/ModuleMetadata.json b/config/ModuleMetadata.json index f5763eca1aa..7fdc4d7e803 100644 --- a/config/ModuleMetadata.json +++ b/config/ModuleMetadata.json @@ -27,15 +27,15 @@ "versions": { "authentication": { "prerelease": "", - "version": "2.11.0" + "version": "2.11.1" }, "beta": { "prerelease": "", - "version": "2.11.0" + "version": "2.11.1" }, "v1.0": { "prerelease": "", - "version": "2.11.0" + "version": "2.11.1" } } } diff --git a/src/Authentication/Authentication/Cmdlets/InvokeMgGraphRequest.cs b/src/Authentication/Authentication/Cmdlets/InvokeMgGraphRequest.cs index 86ebdad20c4..58042510625 100644 --- a/src/Authentication/Authentication/Cmdlets/InvokeMgGraphRequest.cs +++ b/src/Authentication/Authentication/Cmdlets/InvokeMgGraphRequest.cs @@ -402,7 +402,8 @@ private Uri PrepareUri(HttpClient httpClient, Uri uri) // set body to null to prevent later FillRequestStream Body = null; } - return uriBuilder.Uri.EscapeDataStrings(); + // TODO: Review the fix made in https://github.com/microsoftgraph/msgraph-sdk-powershell/pull/2455. + return uriBuilder.Uri; } private void ThrowIfError(ErrorRecord error)