-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.The question is answered.
Description
Steps to reproduce
Office365 powershell credentials are required.
In this text I use:
Login: test@dev-o365.test.com
Password: ***
powershell -NoLogo -NoProfile
$PSSessionOptionOverride = New-PSSessionOption -MaximumReceivedObjectSize 5242880 -Culture en-US -CancelTimeout 15000 -NoMachineProfile -MaximumRedirection 5 -ProxyAccessType None -OperationTimeout 45000 -IdleTimeout 60000 -OpenTimeout 15000
$connectionUri = "https://outlook.office365.com/powershell-liveid/"
$configurationName = "Microsoft.Exchange"
$secPasswd = ConvertTo-SecureString "***" -AsPlainText -Force
$userCredentials = New-Object System.Management.Automation.PSCredential ("test@dev-o365.test.com", $secPasswd)
$S_exchange = New-PSSession -connectionUri $connectionUri -ConfigurationName $configurationName -SessionOption $PSSessionOptionOverride -Credential $userCredentials -Authentication Basic -AllowRedirection -WarningAction SilentlyContinue
Import-PSSession $S_exchange -WA 0
Get-Mailbox -Identity test_user | Get-MailboxPermissionExpected behavior
If launch powershell on windows machine, this script prints correct result output of Get-MailboxPermission command
Actual behavior
Sending data to a remote command failed with the following error message: MI_RESULT_FAILED For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OperationStopped: (outlook.office365.com:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : JobFailure
+ PSComputerName : outlook.office365.com
Environment data
> $PSVersionTable
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.18
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1vinodc
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-AnsweredThe question is answered.The question is answered.