foofighterjim Posted October 7, 2015 Posted October 7, 2015 Any one had any updates from Microsoft about this one? I'm getting quite antsy for a proper fix now.
Popular Post mattpant Posted October 7, 2015 Popular Post Posted October 7, 2015 I've just emailed Microsoft and had this reply back.... "I can confirm the patch to make the cmdlet available through powershell is now complete. It is now being tested and soon be deployed across O365. I can’t make an exact estimate when it will land on your tenant, but please expect October – November timeframe." 6
Popular Post sonofsanta Posted November 5, 2015 Popular Post Posted November 5, 2015 Any update driving me up the wall. Yes, there is! Just this moment tried the PowerShell cmdlet again (that wasn't working last week) and it's running now Get-Mailbox -ResultSize unlimited | Set-MailboxMessageConfiguration -IsReplyAllTheDefaultResponse $false Tested & verified as doing the job 5
rob101 Posted November 5, 2015 Posted November 5, 2015 Full on noob with Powershell how would i run that command so it sets every ones default to reply?
rob101 Posted November 5, 2015 Posted November 5, 2015 i get this The term 'Get-Mailbox' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:12 + Get-Mailbox <<<< -ResultSize unlimited | Set-MailboxMessageConfiguration -Is ReplyAllTheDefaultResponse $false + CategoryInfo : ObjectNotFound: (Get-Mailbox:String) [], Command NotFoundException + FullyQualifiedErrorId : CommandNotFoundException
themightymrp Posted November 5, 2015 Posted November 5, 2015 You need to connect to the online instance of your O365 system first in order to gain access to the other powershell commands. Your commands should look something similar to this: $cred = get-credential $session = new-pssession -configurationname Microsoft.Exchange -connectionuri https://ps.outlook.com/powershell -credential $cred -authentication basic -allowredirection import-pssession $session import-module msonline connect-msolservice -credential $cred 1
sonofsanta Posted November 5, 2015 Posted November 5, 2015 Start with Set-ExecutionPolicy RemoteSigned $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session That'll ask you for some credentials, give it some for an Office 365 administrator. It'll connect to Exchange Online, import the Exchange commands (such as Get-Mailbox) and then allow you to run the code I posted just above. 1
themightymrp Posted November 5, 2015 Posted November 5, 2015 See this page for any pre-requisites you may need to install first! https://technet.microsoft.com/en-gb/library/dn568015.aspx
Boredguy Posted November 5, 2015 Posted November 5, 2015 Well so far ours is sat muttering away to itself processing the script... and has been for around 25 minutes.
sonofsanta Posted November 5, 2015 Posted November 5, 2015 (edited) Mine's been going about half an hour as well, but I ran it against a single user first and it was fine (and did work). Wouldn't be the first Exchange cmdlet I've run that takes forever and a day to finish--plus I imagine this specific command is being run in hundreds of thousands of PowerShell sessions right now Edited November 5, 2015 by sonofsanta
rob101 Posted November 5, 2015 Posted November 5, 2015 Mine's been going about half an hour as well, but I ran it against a single user first and it was fine (and did work). Wouldn't be the first Exchange cmdlet I've run that takes forever and a day to finish--plus I imagine this specific commans is being run in hundreds of thousands of PowerShell sessions right now Scary thought on how much damage i could do if i typed in the wrong commands.
Boredguy Posted November 5, 2015 Posted November 5, 2015 99% of things are reversible so it's not that much damage you can do. I'm used to the exchange scripts taking a while on over 1000 accounts
sonofsanta Posted November 5, 2015 Posted November 5, 2015 Scary thought on how much damage i could do if i typed in the wrong commands. This is why I tested with a test user first
Boredguy Posted November 5, 2015 Posted November 5, 2015 Well it took around 40 minutes but seems to have done the trick here
sonofsanta Posted November 5, 2015 Posted November 5, 2015 Hadn't finished after an hour with 1500ish mailboxes here, but is done now after 1h45 at most
foofighterjim Posted November 5, 2015 Posted November 5, 2015 Interesting, running that command I get an error: Processing data from remote server failed with the following error message: WS-Management connot process the request. The operation failed because of an HTTP error. The HTTP error (12152) is: The server returned an invalid or unrecognized response . For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OperationStopped: (Sytem.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) [], PSRemotingTransportException + FullyQualifiedErrorId : JobFailure Any ideas anyone? Could it be that my tenancy hasn't been updated to include the IsReplyAllTheDefaultResponse entry yet?
sonofsanta Posted November 5, 2015 Posted November 5, 2015 Interesting, running that command I get an error: Processing data from remote server failed with the following error message: WS-Management connot process the request. The operation failed because of an HTTP error. The HTTP error (12152) is: The server returned an invalid or unrecognized response . For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OperationStopped: (Sytem.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) [], PSRemotingTransportException + FullyQualifiedErrorId : JobFailure Any ideas anyone? Could it be that my tenancy hasn't been updated to include the IsReplyAllTheDefaultResponse entry yet? No... it tells you "Command not recognized" in that instance (or words to that effect about the attribute), but that's an HTTP error from the server it's giving you. Try it again in a bit...?
foofighterjim Posted November 6, 2015 Posted November 6, 2015 No... it tells you "Command not recognized" in that instance (or words to that effect about the attribute), but that's an HTTP error from the server it's giving you. Try it again in a bit...? Nope, still the same error last night and this morning.
FN-GM Posted November 6, 2015 Posted November 6, 2015 (edited) Yes, there is! Just this moment tried the PowerShell cmdlet again (that wasn't working last week) and it's running now Get-Mailbox -ResultSize unlimited | Set-MailboxMessageConfiguration -IsReplyAllTheDefaultResponse $false Tested & verified as doing the job Works a treat! Thanks! Still rolling it out though, we have thousands of mailboxes from multiple schools. Edited November 6, 2015 by FN-GM
sonofsanta Posted November 6, 2015 Posted November 6, 2015 Nope, still the same error last night and this morning. Google is implying it's a fault in the server IIS config... which you can't do a lot about. Maybe reinstall the prerequisites you need for PowerShell to connect, just in case, and if it's no better then you might have to open an Office 365 support case (which is both free and helpful, surprisingly). 1
99xenon99 Posted December 14, 2015 Posted December 14, 2015 I don't suppose anyone is aware of a 365 Powershell parameter to set the default for the "View As" filter option for mailboxes from "Conversation" to "Messages"?
themightymrp Posted December 14, 2015 Posted December 14, 2015 I know they didn't have an option before but you can look into this command: https://technet.microsoft.com/en-us/library/ee332347(v=exchg.160).aspx Something along the lines of Set-MailboxMessageConfiguration -ShowConversationAsTree $false
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now