Forum

Exchange 2016: Erro...
 
Notifications
Clear all

Exchange 2016: Error updating mailbox plan - 'SET_MAILBOXPLAN_RETENTIONPOLICY_ARCHIVING'


Bernard.T
Posts: 6
Topic starter
(@bernardptan)
Active Member
Joined: 4 years ago

Hi,

Just recently, I experienced issue somewhat similar to https://solidcp.com/forum/question/error-changing-mailbox-plan/

Creating new mailbox with whatever mailbox plan works flawlessly, but issue occur when updating mailbox to whatever mailbox plan.

As far as I knew there were no changes on Exchange other than upgrade CU 12 about 2 weeks ago.

Here's error in panel:

System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: Error executing 'SET_MAILBOXPLAN_RETENTIONPOLICY_ARCHIVING' task on 'test2@101site.tk' EXCHANGE ---> System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> The request failed. The underlying connection was closed: An unexpected error occurred on a send.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.ExchangeServerController.SetExchangeMailboxPlan(Int32 itemId, Int32 accountId, Int32 mailboxPlanId, Int32 archivePlanId, Boolean EnableArchiving)
--- End of inner exception stack trace ---
at SolidCP.EnterpriseServer.ExchangeServerController.SetExchangeMailboxPlan(Int32 itemId, Int32 accountId, Int32 mailboxPlanId, Int32 archivePlanId, Boolean EnableArchiving)
at SolidCP.EnterpriseServer.esExchangeServer.SetExchangeMailboxPlan(Int32 itemId, Int32 accountId, Int32 mailboxPlanId, Int32 archivePlanId, Boolean EnableArchiving)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.esExchangeServer.SetExchangeMailboxPlan(Int32 itemId, Int32 accountId, Int32 mailboxPlanId, Int32 archivePlanId, Boolean EnableArchiving)
at SolidCP.Portal.UserActions.SetMailboxPlan(List`1 userIds)
at SolidCP.Portal.UserActions.DoAction(List`1 userIds)

====

Eventlog:

[7/26/2019 915 PM] ERROR: 'Hosted Microsoft Exchange Server 2016' SetMailboxAdvancedSettings
System.Management.Automation.RemoteException: The request failed. The underlying connection was closed: An unexpected error occurred on a send.
at System.Management.Automation.Runspaces.AsyncResult.EndInvoke()
at System.Management.Automation.PowerShell.CoreInvokeRemoteHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
at System.Management.Automation.RemotePipeline.Invoke(IEnumerable input)
at SolidCP.Providers.HostedSolution.Exchange2016.ExecuteShellCommandEx(Runspace runSpace, Command cmd, Boolean useDomainController, Object[]& errors)
at SolidCP.Providers.HostedSolution.Exchange2016.SetMailboxAdvancedSettingsInternal(String organizationId, String accountName, Boolean enablePOP, Boolean enableIMAP, Boolean enableOWA, Boolean enableMAPI, Boolean enableActiveSync, Int64 issueWarningKB, Int64 prohibitSendKB, Int64 prohibitSendReceiveKB, Int32 keepDeletedItemsDays, Int32 maxRecipients, Int32 maxSendMessageSizeKB, Int32 maxReceiveMessageSizeKB, Boolean enabledLitigationHold, Int64 recoverabelItemsSpace, Int64 recoverabelItemsWarning, String litigationHoldUrl, String litigationHoldMsg)
at SolidCP.Server.ExchangeServer.SetMailboxAdvancedSettings(String organizationId, String accountName, Boolean enablePOP, Boolean enableIMAP, Boolean enableOWA, Boolean enableMAPI, Boolean enableActiveSync, Int64 issueWarningKB, Int64 prohibitSendKB, Int64 prohibitSendReceiveKB, Int32 keepDeletedItemsDays, Int32 maxRecipients, Int32 maxSendMessageSizeKB, Int32 maxReceiveMessageSizeKB, Boolean enabledLitigationHold, Int64 recoverabelItemsSpace, Int64 recoverabelItemsWarning, String litigationHoldUrl, String litigationHoldMsg)

===

Get-mailbox result:

===
UserPrincipalName : test2@101site.tk
ProhibitSendQuota : Unlimited
ProhibitSendReceiveQuota : Unlimited
RecoverableItemsQuota : 7.813 GB (8,388,608,000 bytes)
RecoverableItemsWarningQuota : 7.422 GB (7,969,177,600 bytes)
CalendarLoggingQuota : 6 GB (6,442,450,944 bytes)
IssueWarningQuota : Unlimited
RulesQuota : 256 KB (262,144 bytes)
ArchiveQuota : 100 GB (107,374,182,400 bytes)
ArchiveWarningQuota : 90 GB (96,636,764,160 bytes)
ArchiveDatabase :
ArchiveGuid : 00000000-0000-0000-0000-000000000000
ArchiveName : {}
ArchiveDomain :
ArchiveStatus : None
ArchiveState : None
ArchiveRelease :
UseDatabaseRetentionDefaults : False
RetentionHoldEnabled : False
EndDateForRetentionHold :
StartDateForRetentionHold :
RetentionComment :
RetentionUrl :
RetentionPolicy :
===

3 Replies
Marco Tiggelaar
Posts: 1961
Admin
(@m-tiggelaar)
Contributor
Joined: 6 years ago

With the CU upgrade did you verify the Powershell virtual directory still has the required settings? (it tends to get reset during upgrade).

If you re-apply the integrated auth don't forget to run a IISReset before testing again.

Reply
Bernard.T
Posts: 6
Topic starter
(@bernardptan)
Active Member
Joined: 4 years ago

Hi Marco,

After checking your answer, I did not waste time for anything other than doing quick search of previous setting and applying it without hesitation.

You are right and thank you for pointing me the solution.

I applied default settings below and issue were sorted.

===

%windir%system32inetsrvappcmd.exe set config "Default Web Site" -section:access -sslFlags:None -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/API" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/asp_client" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/Autodiscover" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/ecp" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/EWS" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/mapi" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/Microsoft-Server-ActiveSync" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/OAB" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST
%windir%system32inetsrvappcmd.exe set config "Default Web Site/owa" -section:Access -sslFlags:Ssl,Ssl128 -commit:APPHOST

%windir%system32inetsrvappcmd.exe set config "Default Web Site" -section:httpredirect -enabled:true -destination:"/owa" -childOnly:true
%windir%system32inetsrvappcmd.exe set config "Default Web Site/API" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/asp_client" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/Autodiscover" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/ecp" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/EWS" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/IES" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/mapi" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/Microsoft-Server-ActiveSync" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/OAB" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/owa" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/PowerShell" -section:httpredirect -enabled:false -destination:"" -childOnly:false
%windir%system32inetsrvappcmd.exe set config "Default Web Site/Rpc" -section:httpredirect -enabled:false -destination:"" -childOnly:false

iisreset /restart & timeout /t 5 & iisreset /status

Reply
Levent
Posts: 7
(@leventacar)
Active Member
Joined: 5 years ago

For quick access to article on configuration page to resolve this error after CU updates

https://solidcp.com/kb/configuration/exchange-2013-2016-configuration/

Please see section     Configuring Exchange Powershell

Reply
Share:
Downloads

Login

Lost your password?

Create an account?