From 5cbce34d58b391053cea7e2ea6ab9d870547dc88 Mon Sep 17 00:00:00 2001 From: Jordan Borean Date: Wed, 3 Jun 2026 17:34:18 +1000 Subject: [PATCH] Add NetFramingBase to TPA for AD module compat Adds System.ServiceModel.NetFramingBase to the list of Trusted Platform Assemblies so that a PSSession instance can load that assembly by name. The ActiveDirectory module uses this assembly and without this change it will fail to import into a PowerShell 7 configuration endpoint. --- src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp b/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp index 43b0f7f..ad5a666 100644 --- a/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp +++ b/src/powershell-native/nativemsh/pwrshcommon/pwrshcommon.cpp @@ -856,6 +856,7 @@ namespace NativeMsh "System.ServiceModel", "System.ServiceModel.Duplex", "System.ServiceModel.Http", + "System.ServiceModel.NetFramingBase", "System.ServiceModel.NetTcp", "System.ServiceModel.Primitives", "System.ServiceModel.Security",