Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

New-PSSession still fails with a NullReferenceException on macOS #4029

Copy link
Copy link
@tthoma24

Description

@tthoma24
Issue body actions

I believe this is related to #942, which is closed. Someone claimed this works from Ubuntu. Is this not supported on macOS, or is this a bug?

Steps to reproduce

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.compliance.protection.outlook.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Expected behavior

Session would be initiated

Actual behavior

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Management.Automation.Remoting.PrioritySendDataCollection.Clear()
   at System.Management.Automation.Remoting.Client.BaseClientTransportManager.CloseAsync()
   at System.Management.Automation.Remoting.Client.WSManClientSessionTransportManager.CloseAsync()
   at System.Management.Automation.Remoting.Client.BaseClientTransportManager.Finalize()
Abort trap: 6

Environment data

> $PSVersionTable

Name                           Value                                                           
----                           -----                                                           
PSVersion                      6.0.0-beta                                                      
PSEdition                      Core                                                            
BuildVersion                   3.0.0.0                                                         
CLRVersion                                                                                     
GitCommitId                    v6.0.0-beta.2                                                   
OS                             Darwin 17.0.0 Darwin Kernel Version 17.0.0: Mon May 29 20:35:...
Platform                       Unix                                                            
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                         
PSRemotingProtocolVersion      2.3                                                             
SerializationVersion           1.1.0.1                                                         
WSManStackVersion              3.0  
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productOS-macOSResolution-FixedThe issue is fixed.The issue is fixed.WG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.