Add NetFramingBase to TPA for AD module compat#113
Conversation
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.
|
It looks like this is a transitive dependency of I have not verified but this seems to be a regression with 7.6.0 which is when the updated assembly was introduced. While not ideal, a workaround for people using Add-Type -Path "$PSHome\System.ServiceModel.NetFramingBase.dll"For people relying on JEA with a restricted language mode you can achieve the same thign automatically by adding this to your session configuration ( @{
...
AssembliesToLoad = @(
"$PSHome\System.ServiceModel.NetFramingBase.dll"
)
}
|
|
Thanks for raising this! Hopefully it lands soon 🙏 I was testing AssembliesToLoad in the
|
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.
FIxes: PowerShell/PowerShell#27199