Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Generation of OAB Failed. The RPC server is unavailable

Posted on 2014-11-11
Medium Priority
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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

704 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