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
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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
If you troubleshoot Outlook for clients, you may want to know a bit more about the OST file before doing your next job. IMAP can cause a lot of drama if removed in the accounts without backing up.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

624 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