Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

狀況

在 Microsoft Exchange Server 2013,如果使用中監視執行檢查預設的公認的網域已變更之後,請使用健康情況信箱探查會失敗並傳回System.Security。安全性例外狀況的例外狀況。這可能會導致不必要的資料庫錯誤後移轉。

因應措施

若要解決這個問題,請使用下列方法之一。

方法 1

如果所有的健康情況信箱 UPN 的網域部分都相同,變更預設公認的網域,使其符合健康情況信箱中都會戳記的值。

若要檢查的健康情況信箱的 UPN 網域,請執行取得信箱 – 監視指令程式。

注意如果健康信箱有不同的 UPN 網域,例如 bar.local 和 bar1.local,您就無法使用這個方法,因為所有 UPN 網域必須都符合預設公認的網域,以避免這個問題。在此情況下,請嘗試方法 2。

方法 2

停用任何相關的探查回應。如此可避免因相關探查資料庫容錯移轉。

例如,執行新增 ServerMonitoringOverride指令程式,如下所示︰



Add-ServerMonitoringOverride -ItemType Responder -Identity RPS.Protocol\RpsDeepTestPSProxyFailover -PropertyValue 0 -PropertyName Enabled -Duration "60.00:00:00" -Server Server_name

Add-ServerMonitoringOverride -ItemType Responder -Identity ActiveSync\ActiveSyncSelfTestDatabaseFailover
-PropertyValue 0 -PropertyName Enabled -Duration "60.00:00:00" -Server Server_name
注意在這個指令程式範例中, Server_name代表實際的伺服器名稱。

如果您無法變更預設公認的網域,以手動方式變更的 UPN 和 SMTP 位址的健康情況的信箱,如下列範例所示︰

# THIS CODE IS MADE AVAILABLE AS IS, WITHOUT WARRANTY OF ANY KIND. THE ENTIRE RISK# OF THE USE OR THE RESULTS FROM THE USE OF THIS CODE REMAINS WITH THE USER.
$newDomain = "bar.local" # This is the new domain name. Must be changed according to the environment.
$healthMailboxes = Get-Mailbox -Monitoring;
foreach ($mailbox in $healthMailboxes)
{
$upn = $mailbox.Name + "@" + $newDomain
Set-User $mailbox -UserPrincipalName:$upn
Set-Mailbox $mailbox -PrimarySmtpAddress:$upn -EmailAddressPolicyEnabled:$false
$adUser = [ADSI]("LDAP://"+$mailbox.DistinguishedName)
$adUser.msExchRecipientTypeDetails = "549755813888"
$adUser.SetInfo()
}

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×