Generation of OAB Failed. The RPC server is unavailable

Posted on 2014-11-11
Last Modified: 2014-11-21
Hi all,

This was working previously, however for the last 2 weeks The Exchange Mailbox 2013 server is reporting an "Generation of OAB Failed. The RPC server is unavailable error" when trying to update the OAB. The environment consists of the Following:-
Site 1
1 Riverbed Load Balancer
2 x Windows 2012 R2 Exchange 2013 CAS servers
4 x Windows 2012 R2 Exchange 2013 Mailbox servers in a DAG
Site 2
1 Riverbed Load Balancer
2 x Windows 2012 R2 Exchange 2013 CAS servers
4 x Windows 2012 R2 Exchange 2013 Mailbox servers in a DAG

If I manually try to update the OAB using the "Update-OfflineAddressBook" command I get a 17004 error. If you can assist that would be appreciated.
Question by:klikon
  • 3
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40438504
You have not posted the complete error but have you checked the below link which suggests to cleanup OAB entries from your configuration partition?

Author Comment

ID: 40439162
Hi Rajitha,
I did see that blog and have already double checked ADSIEDIT however there were no entries with "0ACNF" in them. ADSIEEDIT looked clean. Today I created an new arbitation mailbox and enabled OABGen for that user and created a new offlineAddressBook onto a different Mailbox Database on a Different DAG member. However, when I updated the new OAB it also failed with the same error.

If you need the actual application error log entry it is: -

       Generation of OAB "\Default Offline Address Book (Ex2013)" failed.      
Dn: CN=Default Offline Address Book (Ex2013),CN=Offline Address Lists,CN=Address Lists Container,CN=ExchangeORG,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=Domain
S:Exp=Microsoft.Exchange.Security.Authorization.AuthzException: AuthzInitializeContextFromSid failed for User SID: S-1-5-21----SIDNUMBER. ---> System.ComponentModel.Win32Exception: The RPC server is unavailable
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Security.Authorization.ClientSecurityContext.InitializeContextFromSecurityAccessToken(AuthzFlags flags)
   at Microsoft.Exchange.Security.Authorization.ClientSecurityContext..ctor(ISecurityAccessToken securityAccessToken, AuthzFlags flags)
   at Microsoft.Exchange.MailboxAssistants.Assistants.OABGenerator.PropertyManager..ctor(OfflineAddressBook offlineAddressBook, SecurityIdentifier userSid, String userDomain, Boolean habEnabled)
   at Microsoft.Exchange.MailboxAssistants.Assistants.OABGenerator.OABGenerator.Initialize()
   at Microsoft.Exchange.MailboxAssistants.Assistants.OABGenerator.OABGeneratorAssistant.BeginProcessingOAB(AssistantTaskContext assistantTaskContext)
   at Microsoft.Exchange.MailboxAssistants.Assistants.OABGenerator.OABGeneratorAssistant.<>c__DisplayClasse.<ProcessAssistantStep>b__a()
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)
   at Microsoft.Exchange.Common.IL.ILUtil.DoTryFilterCatch(TryDelegate tryDelegate, FilterDelegate filterDelegate, CatchDelegate catchDelegate)

Accepted Solution

klikon earned 0 total points
ID: 40446655
I've logged this with Microsoft support. No resolution yet however the issue appears to be domain controller specific. If I move the System Mailbox for OAB to another Exchange DAG member, OAB generation works

Author Closing Comment

ID: 40456975
Logged the call with Microsoft Support for resolution

Featured Post

Do email signature updates give you a headache?

Do you feel like all of your time is spent managing email signatures? Too busy to visit every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
how to add IIS SMTP to handle application/Scanner relays into office 365.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now