Title: pipe for office 365 not working on linux: Get-Mailbox | Get-MailboxPermission · Issue #6206 · PowerShell/PowerShell · GitHub
Open Graph Title: pipe for office 365 not working on linux: Get-Mailbox | Get-MailboxPermission · Issue #6206 · PowerShell/PowerShell
X Title: pipe for office 365 not working on linux: Get-Mailbox | Get-MailboxPermission · Issue #6206 · PowerShell/PowerShell
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 524...
Open Graph 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-PSSess...
X 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-PSSess...
Mail addresses
test@dev-o365.test.com
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/6206
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pipe for office 365 not working on linux: Get-Mailbox | Get-MailboxPermission","articleBody":"\u003c!--\r\n\r\nFor Windows PowerShell 5.1 issues, suggestions, or feature requests please use the following link instead:\r\n- Windows PowerShell [UserVoice](https://windowsserver.uservoice.com/forums/301869-powershell)\r\n\r\nIf it is a bug report:\r\n- make sure you are able to repro it on the latest released version. \r\nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\r\n- Search the existing issues.\r\n- Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- Refer to the [known issues](https://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md).\r\n- Fill out the following repro template:\r\n\r\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\r\n--\u003e\r\n\r\nSteps to reproduce\r\n------------------\r\nOffice365 powershell credentials are required. \r\nIn this text I use:\r\nLogin: test@dev-o365.test.com\r\nPassword: ***\r\n\r\n```powershell\r\npowershell -NoLogo -NoProfile\r\n\r\n$PSSessionOptionOverride = New-PSSessionOption -MaximumReceivedObjectSize 5242880 -Culture en-US -CancelTimeout 15000 -NoMachineProfile -MaximumRedirection 5 -ProxyAccessType None -OperationTimeout 45000 -IdleTimeout 60000 -OpenTimeout 15000\r\n$connectionUri = \"https://outlook.office365.com/powershell-liveid/\"\r\n$configurationName = \"Microsoft.Exchange\"\r\n$secPasswd = ConvertTo-SecureString \"***\" -AsPlainText -Force \r\n$userCredentials = New-Object System.Management.Automation.PSCredential (\"test@dev-o365.test.com\", $secPasswd)\r\n$S_exchange = New-PSSession -connectionUri $connectionUri -ConfigurationName $configurationName -SessionOption $PSSessionOptionOverride -Credential $userCredentials -Authentication Basic -AllowRedirection -WarningAction SilentlyContinue\r\n\r\nImport-PSSession $S_exchange -WA 0\r\n\r\nGet-Mailbox -Identity test_user | Get-MailboxPermission\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\n```\r\nIf launch powershell on windows machine, this script prints correct result output of Get-MailboxPermission command\r\n```\r\n\r\nActual behavior\r\n---------------\r\n\r\n```\r\nSending data to a remote command failed with the following error message: MI_RESULT_FAILED For more information, see the about_Remote_Troubleshooting Help topic.\r\n + CategoryInfo : OperationStopped: (outlook.office365.com:String) [], PSRemotingTransportException\r\n + FullyQualifiedErrorId : JobFailure\r\n + PSComputerName : outlook.office365.com\r\n\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-alpha\r\nPSEdition Core\r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}\r\nBuildVersion 3.0.0.0\r\nGitCommitId v6.0.0-alpha.18\r\nCLRVersion\r\nWSManStackVersion 3.0\r\nPSRemotingProtocolVersion 2.3\r\nSerializationVersion 1.1.0.1\r\n```\r\n","author":{"url":"https://github.com/sh0375","@type":"Person","name":"sh0375"},"datePublished":"2018-02-21T13:02:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/6206/PowerShell/issues/6206"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:51d89401-8f2a-5f9f-5296-9386f66521b4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA6C:141AC:AFBCE3:EF9000:6A57E215 |
| html-safe-nonce | c13a1fd17a209752ee53b848024667175cf26184327b07104509411714f5168b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTZDOjE0MUFDOkFGQkNFMzpFRjkwMDA6NkE1N0UyMTUiLCJ2aXNpdG9yX2lkIjoiMjQ4NDYxMTcwODkwOTc3MzMzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a8686108a224353adcb9190b07ef1a1fcafb0c5212cf19939a2fcbc3872fcb29 |
| hovercard-subject-tag | issue:298961486 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/6206/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4daa7f0cd656e1f884d7075fea2209d8d78e793ddbe8d9a07fa9c3ccd1295999/PowerShell/PowerShell/issues/6206 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4daa7f0cd656e1f884d7075fea2209d8d78e793ddbe8d9a07fa9c3ccd1295999/PowerShell/PowerShell/issues/6206 |
| og:image:alt | 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-PSSess... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sh0375 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 837767abbd14b05f219fd812ef2842c659968b63619e1b966dded83972ab5bca |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 36b9c371e4e031091f1b89adf913d9e6993943df |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width