From eab639e32919ff5a10f61b493d671a45125767de Mon Sep 17 00:00:00 2001 From: Paul Bullock Date: Sun, 15 Dec 2024 12:26:11 +0000 Subject: [PATCH] Unblock connection to SharePoint 2013 (#4622) Transformation On Prem flag added Co-authored-by: Gautam Sheth --- src/Commands/Base/ConnectOnline.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/Base/ConnectOnline.cs b/src/Commands/Base/ConnectOnline.cs index b6cf8fec0..1dced4797 100644 --- a/src/Commands/Base/ConnectOnline.cs +++ b/src/Commands/Base/ConnectOnline.cs @@ -689,7 +689,7 @@ private PnPConnection ConnectCredentials(PSCredential credentials, Initializatio } } } - if (ClientId == null) + if (ClientId == null && !TransformationOnPrem) { ClientId = GetAppId(); if (ClientId == null)