Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1031610%22%20slang%3D%22en-US%22%3EThe%20case%20of%20constant%20OAB%20generation%20and%20full%20OAB%20downloads%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1031610%22%20slang%3D%22en-US%22%3E%3CH1%20id%3D%22toc-hId-354661975%22%20id%3D%22toc-hId-354661977%22%20id%3D%22toc-hId-354661977%22%20id%3D%22toc-hId-354661977%22%20id%3D%22toc-hId-354661977%22%20id%3D%22toc-hId-354661977%22%20id%3D%22toc-hId-354661977%22%20id%3D%22toc-hId-354661977%22%20id%3D%22toc-hId-354661977%22%20id%3D%22toc-hId-354661977%22%3E%3CFONT%20size%3D%226%22%3EIntroduction%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EThe%20thing%20that%20prompted%20publishing%20of%20this%20blog%20post%20is%20a%20recent%20on-premises%20customer%20support%20case.%20We%20figured%20it%20is%20a%20good%20case%20study%20to%20help%20illustrate%20the%20OAB%20(Offline%20Address%20Book)%20generation%20process%20and%20how%20to%20troubleshoot%20it%20if%20a%20need%20arises.%3C%2FP%3E%0A%3CP%3EThe%20situation%20was%20that%20Outlook%20users%20were%20always%20getting%20full%20download%20of%20the%20OAB%2C%20whether%20downloaded%20manually%20or%20automatically%2C%20which%20was%20causing%20a%20lot%20of%20network%20traffic%20on%20the%20Exchange%20Server%20and%20was%20causing%20unwelcome%20performance%20overhead.%3C%2FP%3E%0A%3CP%3EPrevious%20blog%20posts%20on%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FExchange-Team-Blog%2FOAB-in-Exchange-Server-2013%2Fba-p%2F598149%22%20target%3D%22_blank%22%3EOAB%20in%20Exchange%20Server%202013%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fblogs.technet.microsoft.com%2Fexchange%2F2013%2F01%2F14%2Fmanaging-oab-in-exchange-server-2013%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EManaging%20OAB%20in%20Exchange%20Server%202013%3C%2FA%3E%20explain%20what%20an%20OAB%20is%20and%20how%20to%20manage%20it.%20In%20this%20article%2C%20we%20will%20dig%20a%20little%20deeper%20in%20to%20the%20OAB%20generation%20process%2C%20the%20files%20that%20are%20involved%2C%20what%20happens%20in%20case%20of%20a%20failover%2C%20and%20how%20that%20was%20linked%20to%20this%20specific%20scenario%20(Or%20was%20it%3F%20Read%20on%20to%20find%20out!)%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--1452792488%22%20id%3D%22toc-hId--1452792486%22%20id%3D%22toc-hId--1452792486%22%20id%3D%22toc-hId--1452792486%22%20id%3D%22toc-hId--1452792486%22%20id%3D%22toc-hId--1452792486%22%20id%3D%22toc-hId--1452792486%22%20id%3D%22toc-hId--1452792486%22%20id%3D%22toc-hId--1452792486%22%20id%3D%22toc-hId--1452792486%22%3E%3CFONT%20size%3D%226%22%3EOAB%20files%20on%20the%20server%20and%20the%20client%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EBefore%20we%20get%20into%20troubleshooting%20details%2C%20we%20want%20to%20go%20over%20how%20OAB%20files%20that%20are%20generated%20on%20the%20server%20map%20to%20OAB%20files%20that%20are%20downloaded%20by%20the%20Outlook%20client.%3C%2FP%3E%0A%3CP%3EIn%20Exchange%20Server%202013%20onwards%2C%20the%20mailbox%20server%20hosting%20the%20OAB%20Generation%20mailbox%20is%20the%20one%20responsible%20to%20generate%20the%20OAB.%20OAB%20files%20are%20generated%20and%20stored%20under%20%25ExchangeInstallPath%25%5CClientAccess%5COAB%5C%20in%20a%20folder%20named%20with%20a%20%3CGUID%3E.%20This%20GUID1%20is%20the%20same%20one%20that%E2%80%99s%20on%20the%20OAB%20object.%3C%2FGUID%3E%3C%2FP%3E%0A%3CP%3EExample%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F158793i204B01146AE9B7C6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22OAB1.jpg%22%20title%3D%22OAB1.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EInside%20this%20GUID1%20folder%2C%20you%20will%20find%20files%20ending%20with%20extensions%20LZX%2C%20FLT%20and%20one%20file%20called%20OAB.XML.%20The%20%3CSTRONG%3ELZX%20%3C%2FSTRONG%3Efiles%20contain%20the%20actual%20OAB%2C%20delta%20changes%2C%20language%20and%20OS%20specific%20changes.%20These%20are%20compressed%20files%20stored%20in%20the%20following%20location%20of%20the%20server%20that%20hosts%20the%20OAB%20generation%20mailbox%20server%3A%20%E2%80%9C%25ExchangeInstallPath%25%5CClientAccess%5COAB%5C%3CGUID%3E%5C%E2%80%9D.%20Each%20LZX%20file%20has%20a%20randomly%20generated%20GUID2%20associated%20with%20it.%20The%20OAB.XML%20file%20is%20called%20a%20Manifest.%3C%2FGUID%3E%3C%2FP%3E%0A%3CP%3EExample%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F158794i7CE22FE524016FE9%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22OAB2.jpg%22%20title%3D%22OAB2.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOAB%20files%20downloaded%20by%20the%20Outlook%20client%20are%20stored%20under%20%25LOCALAPPDATA%25%5CMicrosoft%5COutlook%5C%3CGUID%3E.%20The%20GUID%20folder%20on%20the%20client%20has%20the%20same%20name%20as%20that%20of%20GUID2%20observed%20on%20the%20names%20of%20the%20LZX.%20The%20GUID2%20on%20the%20OAB%20generation%20file%20plays%20a%20crucial%20part%20in%20determining%20if%20full%20or%20incremental%20download%20is%20needed.%20%3CSTRONG%3EAny%20time%20this%20GUID2%20changes%2C%20the%20result%20will%20be%20a%20full%20OAB%20download%20on%20clients.%3C%2FSTRONG%3E%3C%2FGUID%3E%3C%2FP%3E%0A%3CP%3EThe%20GUID2%20is%20maintained%20even%20during%20database%20failover%2C%20in%20an%20interesting%20way.%20Let%E2%80%99s%20see%20how!%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--762231014%22%20id%3D%22toc-hId--762231012%22%20id%3D%22toc-hId--762231012%22%20id%3D%22toc-hId--762231012%22%20id%3D%22toc-hId--762231012%22%20id%3D%22toc-hId--762231012%22%20id%3D%22toc-hId--762231012%22%20id%3D%22toc-hId--762231012%22%20id%3D%22toc-hId--762231012%22%20id%3D%22toc-hId--762231012%22%3EOAB%20generation%20workflow%3C%2FH2%3E%0A%3CP%3ELet%E2%80%99s%20now%20see%20how%20the%20OAB%20generation%20workflow%20happens.%3C%2FP%3E%0A%3CP%3EThese%20are%20the%20OAB%20properties%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EParams%3A%0AName%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%20Region1oab%0AGuid%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3A%2072a6e712-6e36-4fe2-b338-9096e29ba1cf%0AGeneratingMailbox%20%20%20%3A%20contoso.com%2FUsers%2FcontosoOAB%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20an%20example%2C%20let%E2%80%99s%20look%20at%20the%20output%20from%20the%20LDP%20tool%2C%20after%20the%20Region1oab%20is%20created%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EExpanding%20base%20'CN%3DRegion1oab%2CCN%3DOffline%20Address%20Lists%2CCN%3DAddress%20Lists%20Container%2CCN%3DContoso%2CCN%3DMicrosoft%20Exchange%2CCN%3DServices%2CCN%3DConfiguration%2CDC%3Dcontoso%2CDC%3Dcom'...%0AGetting%201%20entries%3A%0ADn%3A%20CN%3DRegion1oab%2CCN%3DOffline%20Address%20Lists%2CCN%3DAddress%20Lists%20Container%2CCN%3DContoso%2CCN%3DMicrosoft%20Exchange%2CCN%3DServices%2CCN%3DConfiguration%2CDC%3Dcontoso%2CDC%3Dcom%0Acn%3A%20Region1oab%3B%0A%20%0AmsExchOABFlags%3A%200%3B%0AmsExchOABFolder%3A%20%3B%0AmsExchOABGeneratingMailboxLink%3A%20CN%3DcontosoOAB%2CCN%3DUsers%2CDC%3Dcontoso%2CDC%3Dcom%3B%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%2C%20what%20really%20happens%20under%20the%20hood%3F%20Let%20us%20have%20a%20look%20at%20the%20OABGenerator%20log%20(stored%20on%20the%20server%20under%20%25ExchangeInstallPath%25%5CLogging%5COABGeneratorLog)%2C%20which%20shows%20the%20generation%20flow%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EOABGenerator%20invoked%20from%20Update-OAB%20on%20Server%3AE15A%20for%20on-demand%20generation%20of%20OAB%2072a6e712-6e36-4fe2-b338-9096e29ba1cf%20for%20Org%20%20DatabaseGuid%3D7bc2e8fa-9b1b-4836-9133-5b966666b466%2C%20MailboxGuid%3D225bb99d-0fcd-4ec1-8f08-a79680d65607%22%0AOABGeneratorAssistant.GetOABsFromAD()%20returned%201%20oab(s)%0ALogged%20Event%20Id%20279145.%20Params%3A%20%5CRegion1oab%7C%7CCN%3DRegion1oab%2CCN%3DOffline%20Address%20Lists%2CCN%3DAddress%20Lists%20Container%2CCN%3DContoso%2CCN%3DMicrosoft%20Exchange%2CCN%3DServices%2CCN%3DConfiguration%2CDC%3Dcontoso%2CDC%3Dcom%7C%7C72a6e712-6e36-4fe2-b338-9096e29ba1cf%22%0AOABGeneratorAssistant.BeginProcessingOAB%3A%20finish%0AOABGenerator.PrepareFilesForOABGeneration%3A%20start%0AOABGenerator.CreateOABDirectory%3A%20created%20new%20directory%20C%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CClientAccess%5COAB%5C72a6e712-6e36-4fe2-b338-9096e29ba1cf%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20then%20results%20in%20the%20following%20directory%20on%20the%20server%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F158796i46AB321578B8F38E%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22OAB3.jpg%22%20title%3D%22OAB3.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAt%20this%20step%2C%20if%20one%20logs%20into%20the%20OAB%20Generation%20mailbox%20(using%20MFCMAPI)%2C%20it%20will%20look%20like%20the%20following%20%26nbsp%3B(there%20is%20no%20OAB%20folder%2C%20because%20the%20generation%20is%20not%20complete)%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20188px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F158797i392F3F5123DB2FFE%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22OAB4.jpg%22%20title%3D%22OAB4.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EContinuing%20with%20reading%20of%20the%20log%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EOABGenerator.TryGetPreviousVersionOfFile%3A%20there%20is%20no%20usable%20previous%20manifest%0AOABGenerator.BeginGeneratingAddressListFiles%3ACreating%20new%20guid%3A%20097c87cb-b8aa-40d4-a3ce-9548ed82a84d-%0AOABGenerator.FinishGeneratingAddressListFiles%3A%20finish%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20you%20can%20see%20the%20OAB%20folder%20got%20generated%20inside%20the%20mailbox%2C%20and%20inside%20the%20folder%20we%20have%20a%20mailitem%20of%20type%20IPM.FileSet%20with%20the%20subject%20as%20the%20GUID%20of%20the%20OAB%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20330px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F158798i76277070B5480931%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22OAB5.jpg%22%20title%3D%22OAB5.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20file%20inside%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F158799i4D1F6CB43A6BF74A%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22OAB6.jpg%22%20title%3D%22OAB6.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFollowing%20along%20in%20the%20log%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EOABGenerator.Publish%3A%20start%0AOABGenerator.PublishFileToDistribPoint%3A%20published%20file%3A%20C%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CClientAccess%5COAB%5C72a6e712-6e36-4fe2-b338-9096e29ba1cf%5C097c87cb-b8aa-40d4-a3ce-9548ed82a84d-%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENow%20the%20manifest%20file%20is%20getting%20created%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EOABGenerator.WriteManifest%3A%20writing%20to%20manifest%20file%20C%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CClientAccess%5COAB%5C72a6e712-6e36-4fe2-b338-9096e29ba1cf%5Coab.xml%2C%20version%20((097c87cb-b8aa-40d4-a3ce-9548ed82a84d%2C1))%3A%5Cn%5CrAddressList%5B0%5D%3DId%3D097c87cb-b8aa-40d4-a3ce-9548ed82a84d%2C%20DN%3A%2F%2C%20Name%3A%5CDefault%20Global%20Address%20List%2C%20file%20count%3A101%5Cr%5Cn%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20OAB%20files%20are%20generated%20on%20the%20disk%2C%20they%20are%20uploaded%20to%20the%20OAB%20gen%20mailbox%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EOABGenerator.UploadFilesToMailbox%3A%20selected%20OAB%20file%20C%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CClientAccess%5COAB%5C72a6e712-6e36-4fe2-b338-9096e29ba1cf%5Coab.xml%20to%20upload%20to%20the%20mailbox%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOnce%20that%E2%80%99s%20successful%2C%20a%20confirmation%20is%20written%20to%20the%20log%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EUploaded%20file%20'C%3A%5CProgram%20Files%5CMicrosoft%5CExchange%20Server%5CV15%5CClientAccess%5COAB%5C72a6e712-6e36-4fe2-b338-9096e29ba1cf%5Coab.xml'%20to%20mailbox%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFinishing%20the%20process%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EABGeneratorAssistant.FinishProcessingOAB%3A%20start%0ALogged%20Event%20Id%20279146%0AFunction%20%20OABGeneratorAssistant.FinishProcessingOAB%3A%20finish%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20is%20the%20output%20from%20LDP%2C%20after%20OAB%20is%20generated%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EmsExchConfigurationXML%3A%20%3COFFLINEADDRESSBOOKCONFIGXML%3E%3CMANIFESTVERSION%3E%3CADDRESSLISTS%20addresslistid%3D%22097c87cb-b8aa-40d4-a3ce-9548ed82a84d%22%20sequence%3D%221%22%3E%3C%2FADDRESSLISTS%3E%3C%2FMANIFESTVERSION%3E%3CLASTFAILEDTIME%20nil%3D%22true%22%20p2%3D%22%26lt%3BA%20href%3D%22%3Ehttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%22%20%2F%26gt%3B%3CLASTGENERATINGDATA%3E%3CMAILBOXGUID%3E225bb99d-0fcd-4ec1-8f08-a79680d65607%3C%2FMAILBOXGUID%3E%3CDATABASEGUID%3E7bc2e8fa-9b1b-4836-9133-5b966666b466%3C%2FDATABASEGUID%3E%3CSERVERFQDN%3EE15A.contoso.com%3C%2FSERVERFQDN%3E%3C%2FLASTGENERATINGDATA%3E%3C%2FLASTFAILEDTIME%3E%3B%3C%2FOFFLINEADDRESSBOOKCONFIGXML%3E%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EYou%20might%20ask%20yourself%3A%20why%20upload%20those%20OAB%20files%20to%20the%20OAB%20generation%20mailbox%20at%20all%3F%20The%20answer%20is%20that%20this%20is%20how%20we%20maintain%20the%20continuity%20of%20OAB%20generation%20GUID2%20in%20case%20of%20database%20switch%2Ffailover%20to%20another%20node.%3C%2FP%3E%0A%3CP%3ESo%2C%20what%20happens%20if%20the%20database%20fails%20over%20to%20another%20node%3F%3C%2FP%3E%0A%3CP%3EAt%20first%20client%20request%20for%20OAB%20download%2C%20the%20OABAssistant%20logs%20on%20to%20the%20OAB%20generation%20mailbox%20and%20then%20extracts%20the%20LZX%20files%20to%20%25ExchangeInstallPath%25%5CClientAccess%5COAB%5C%2C%20based%20on%20the%20manifest.information%20in%20the%20manifest%20file%20(OAB.xml).%3C%2FP%3E%0A%3CP%3ETo%20summarize%20a%20few%20points%20here%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EOAB%20files%20generated%20on%20the%20disk%20are%20uploaded%20to%20the%20OAB%20generation%20mailbox%3C%2FLI%3E%0A%3CLI%3EThe%20files%20from%20the%20OAB%20generation%20mailbox%20are%20used%20if%20the%20database%20hosting%20OAB%20generation%20mailbox%20is%20switched%2Ffailed%20over.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ETherefore%2C%20if%20the%20OAB%20manifest%20files%20cannot%20be%20(for%20any%20reason)%20copied%20from%20OAB%20generation%20mailbox%2C%20the%20OAB%20generation%20is%20triggered%20again%2C%20causing%20the%20reset%20of%20GUID2.%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--772734118%22%20id%3D%22toc-hId--772734116%22%20id%3D%22toc-hId--772734116%22%20id%3D%22toc-hId--772734116%22%20id%3D%22toc-hId--772734116%22%20id%3D%22toc-hId--772734116%22%20id%3D%22toc-hId--772734116%22%20id%3D%22toc-hId--772734116%22%20id%3D%22toc-hId--772734116%22%20id%3D%22toc-hId--772734116%22%3ETroubleshooting%3C%2FH1%3E%0A%3CP%3EIn%20our%20support%20ticket%2C%20whenever%20a%20failover%20happened%2C%20we%20observed%20the%20LZX%20files%20were%20stamped%20with%20a%20new%20GUID2%2C%20triggering%20the%20full%20OAB%20download%20on%20the%20clients.%3C%2FP%3E%0A%3CP%3ENow%20that%20we%20know%20the%20OAB%20generation%20process%2C%20we%20can%20see%20that%20a%20new%20GUID%20at%20every%20failover%20can%20be%20caused%20by%20the%20manifest%20file%20not%20getting%20uploaded%20to%20the%20OAB%20generation%20mailbox.%3C%2FP%3E%0A%3CP%3ETo%20solve%20the%20mystery%20of%20missing%20OAB%20manifest%20file%20in%20the%20OAB%20generation%20mailbox%2C%20we%20checked%20our%20old%20friend%20the%20OABGeneratorLog%20and%20found%20that%20the%20manifest%20file%20was%20not%20getting%20uploaded%20to%20the%20OAB%20generation%20mailbox%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E18352550%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%20%20%20%20%20%20Error%20%20%20%20%20%2012%3A54%3A14.865%20%20%20%20%20%20%20%20%20%20%20%20%2013448%20%20%20%2025652%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ManagedStore.Common%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ExceptionHandler%20%20%20%20%20%20%20%20%20%20%20%20%20%22Exception%3A%20ExExceptionMaxSubmissionExceeded%20Text%3A%20Microsoft.Exchange.Protocols.MAPI.ExExceptionMaxSubmissionExceeded%3A%20ErrorCode%3A%20MaxSubmissionExceeded%2C%20LID%3A%2042792%20-%20Message%20over%20size%20limitation%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHence%2C%20whenever%20there%20was%20an%20OAB%20request%2C%20the%20OAB%20generation%20would%20create%20a%20new%20GUID.%3C%2FP%3E%0A%3CP%3ESo%2C%20why%20was%20the%20Manifest%20file%20not%20uploaded%3F%20During%20the%20troubleshooting%2C%20we%20figured%20out%20that%20a%20setting%20called%20MaxSendSize%20on%20the%20OABGen%20mailbox%20was%20set%20to%20Unlimited.%20Well%2C%20it%20is%20interesting%20to%20note%20that%20the%20literal%20meaning%20of%20%E2%80%9Cunlimited%E2%80%9D%20doesn%E2%80%99t%20apply%20here.%20This%20defaults%20to%20the%20transport%20config%20settings%20for%20the%20MaxSendSize%2C%20which%20was%20in%20this%20case%20set%20to%2075%20MB.%20But%20the%20size%20of%20the%20manifest%20file%20was%20100%20MB%2C%20therefore%2C%20over%20this%20limit.%3C%2FP%3E%0A%3CP%3EThis%20error%20was%20also%20reported%20in%20the%20OABGeneratorLog%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E18352549%20%20%20%20%20%20%20%20%20%20%20%200%20%20%20%20%20%20%20%20%20%20%20%20%20Error%20%20%20%20%20%2012%3A54%3A14.862%20%20%20%20%20%20%20%20%20%20%20%20%2013448%20%20%20%2025652%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20ManagedStore.Mapi%20%20%20%20%20%20%20%20Quota%20%20%20%20Message%2000000000-0000-0000-0000-000000000000%5B0%5D-0%20over%20size%20limitation%2C%20current%20size%3D107762607%2C%20limitation%3D78643200%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20solution%20here%20was%20to%20set%20the%20MaxSendSize%20on%20OABGen%20mailbox%20to%20a%20higher%20limit%2C%20to%20accommodate%20the%20size%20of%20the%20manifest%20file.%3C%2FP%3E%0A%3CP%3EHope%20the%20information%20here%20was%20useful%20in%20understanding%20and%20troubleshooting%20OAB%20generation%20and%20download%20issues!%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22author%22%3ENaveen%20Vasudevan%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1031610%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20wanted%20to%20walk%20through%20a%20support%20case%20study%20to%20help%20illustrate%20the%20OAB%20(Offline%20Address%20Book)%20generation%20process%20and%20how%20to%20troubleshoot%20it%20if%20a%20need%20arises%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1031610%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%202013%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%202016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%202019%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOn%20Premises%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20'n%20Tricks%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETroubleshooting%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1031840%22%20slang%3D%22en-US%22%3ERe%3A%20The%20case%20of%20constant%20OAB%20generation%20and%20full%20OAB%20downloads%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1031840%22%20slang%3D%22en-US%22%3E%3CP%3ENote%20the%20docs%20say%20Max%20Send%20Size%20should%20be%20set%20to%201GB%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Farchitecture%2Fmailbox-servers%2Frecreate-arbitration-mailboxes%3Fview%3Dexchserver-2019%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fexchange%2Farchitecture%2Fmailbox-servers%2Frecreate-arbitration-mailboxes%3Fview%3Dexchserver-2019%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1033066%22%20slang%3D%22en-US%22%3ERe%3A%20The%20case%20of%20constant%20OAB%20generation%20and%20full%20OAB%20downloads%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1033066%22%20slang%3D%22en-US%22%3E%3CP%3ESome%20great%20%22legacy%20on-prem%22%20deep%20dive.%20Love%20it!%20Thank%20you!%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Flaugh_40x40.gif%22%20alt%3D%22%3Alol%3A%22%20title%3D%22%3Alol%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1041386%22%20slang%3D%22en-US%22%3ERe%3A%20The%20case%20of%20constant%20OAB%20generation%20and%20full%20OAB%20downloads%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1041386%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20sharing!%20May%20safe%20some%20headache%20one%20day%20or%20the%20other.%20Also%20interesting%20to%20see%20how%20the%20process%20works%20in%20general%20as%20this%20was%20never%20documented%20this%20way%20anywhere%20else%20before.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E

Introduction

The thing that prompted publishing of this blog post is a recent on-premises customer support case. We figured it is a good case study to help illustrate the OAB (Offline Address Book) generation process and how to troubleshoot it if a need arises.

The situation was that Outlook users were always getting full download of the OAB, whether downloaded manually or automatically, which was causing a lot of network traffic on the Exchange Server and was causing unwelcome performance overhead.

Previous blog posts on OAB in Exchange Server 2013 and Managing OAB in Exchange Server 2013 explain what an OAB is and how to manage it. In this article, we will dig a little deeper in to the OAB generation process, the files that are involved, what happens in case of a failover, and how that was linked to this specific scenario (Or was it? Read on to find out!)

OAB files on the server and the client

Before we get into troubleshooting details, we want to go over how OAB files that are generated on the server map to OAB files that are downloaded by the Outlook client.

In Exchange Server 2013 onwards, the mailbox server hosting the OAB Generation mailbox is the one responsible to generate the OAB. OAB files are generated and stored under %ExchangeInstallPath%\ClientAccess\OAB\ in a folder named with a <GUID>. This GUID1 is the same one that’s on the OAB object.

Example:

OAB1.jpg

 

Inside this GUID1 folder, you will find files ending with extensions LZX, FLT and one file called OAB.XML. The LZX files contain the actual OAB, delta changes, language and OS specific changes. These are compressed files stored in the following location of the server that hosts the OAB generation mailbox server: “%ExchangeInstallPath%\ClientAccess\OAB\<guid>\”. Each LZX file has a randomly generated GUID2 associated with it. The OAB.XML file is called a Manifest.

Example:

OAB2.jpg

 

OAB files downloaded by the Outlook client are stored under %LOCALAPPDATA%\Microsoft\Outlook\<GUID>. The GUID folder on the client has the same name as that of GUID2 observed on the names of the LZX. The GUID2 on the OAB generation file plays a crucial part in determining if full or incremental download is needed. Any time this GUID2 changes, the result will be a full OAB download on clients.

The GUID2 is maintained even during database failover, in an interesting way. Let’s see how!

OAB generation workflow

Let’s now see how the OAB generation workflow happens.

These are the OAB properties:

 

Params:
Name                           : Region1oab
Guid                             : 72a6e712-6e36-4fe2-b338-9096e29ba1cf
GeneratingMailbox   : contoso.com/Users/contosoOAB

 

As an example, let’s look at the output from the LDP tool, after the Region1oab is created:

 

Expanding base 'CN=Region1oab,CN=Offline Address Lists,CN=Address Lists Container,CN=Contoso,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com'...
Getting 1 entries:
Dn: CN=Region1oab,CN=Offline Address Lists,CN=Address Lists Container,CN=Contoso,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com
cn: Region1oab;
 
msExchOABFlags: 0;
msExchOABFolder: ;
msExchOABGeneratingMailboxLink: CN=contosoOAB,CN=Users,DC=contoso,DC=com;

 

So, what really happens under the hood? Let us have a look at the OABGenerator log (stored on the server under %ExchangeInstallPath%\Logging\OABGeneratorLog), which shows the generation flow:

 

OABGenerator invoked from Update-OAB on Server:E15A for on-demand generation of OAB 72a6e712-6e36-4fe2-b338-9096e29ba1cf for Org  DatabaseGuid=7bc2e8fa-9b1b-4836-9133-5b966666b466, MailboxGuid=225bb99d-0fcd-4ec1-8f08-a79680d65607"
OABGeneratorAssistant.GetOABsFromAD() returned 1 oab(s)
Logged Event Id 279145. Params: \Region1oab||CN=Region1oab,CN=Offline Address Lists,CN=Address Lists Container,CN=Contoso,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com||72a6e712-6e36-4fe2-b338-9096e29ba1cf"
OABGeneratorAssistant.BeginProcessingOAB: finish
OABGenerator.PrepareFilesForOABGeneration: start
OABGenerator.CreateOABDirectory: created new directory C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\OAB\72a6e712-6e36-4fe2-b338-9096e29ba1cf

 

This then results in the following directory on the server:

OAB3.jpg

 

At this step, if one logs into the OAB Generation mailbox (using MFCMAPI), it will look like the following  (there is no OAB folder, because the generation is not complete):

OAB4.jpg

 

Continuing with reading of the log:

 

OABGenerator.TryGetPreviousVersionOfFile: there is no usable previous manifest
OABGenerator.BeginGeneratingAddressListFiles:Creating new guid: 097c87cb-b8aa-40d4-a3ce-9548ed82a84d-
OABGenerator.FinishGeneratingAddressListFiles: finish

 

Now you can see the OAB folder got generated inside the mailbox, and inside the folder we have a mailitem of type IPM.FileSet with the subject as the GUID of the OAB:

OAB5.jpg

 

The file inside:

OAB6.jpg

 

Following along in the log:

 

OABGenerator.Publish: start
OABGenerator.PublishFileToDistribPoint: published file: C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\OAB\72a6e712-6e36-4fe2-b338-9096e29ba1cf\097c87cb-b8aa-40d4-a3ce-9548ed82a84d-

 

Now the manifest file is getting created:

 

OABGenerator.WriteManifest: writing to manifest file C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\OAB\72a6e712-6e36-4fe2-b338-9096e29ba1cf\oab.xml, version ((097c87cb-b8aa-40d4-a3ce-9548ed82a84d,1)):\n\rAddressList[0]=Id=097c87cb-b8aa-40d4-a3ce-9548ed82a84d, DN:/, Name:\Default Global Address List, file count:101\r\n"

 

Once OAB files are generated on the disk, they are uploaded to the OAB gen mailbox:

 

OABGenerator.UploadFilesToMailbox: selected OAB file C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\OAB\72a6e712-6e36-4fe2-b338-9096e29ba1cf\oab.xml to upload to the mailbox

 

Once that’s successful, a confirmation is written to the log:

 

Uploaded file 'C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\OAB\72a6e712-6e36-4fe2-b338-9096e29ba1cf\oab.xml' to mailbox"

 

Finishing the process:

 

ABGeneratorAssistant.FinishProcessingOAB: start
Logged Event Id 279146
Function  OABGeneratorAssistant.FinishProcessingOAB: finish

 

Here is the output from LDP, after OAB is generated:

 

msExchConfigurationXML: <OfflineAddressBookConfigXML><ManifestVersion><AddressLists AddressListId="097c87cb-b8aa-40d4-a3ce-9548ed82a84d" Sequence="1" /></ManifestVersion><LastFailedTime p2:nil="true" xmlns:p2="http://www.w3.org/2001/XMLSchema-instance" /><LastGeneratingData><MailboxGuid>225bb99d-0fcd-4ec1-8f08-a79680d65607</MailboxGuid><DatabaseGuid>7bc2e8fa-9b1b-4836-9133-5b966666b466</DatabaseGuid><ServerFqdn>E15A.contoso.com</ServerFqdn></LastGeneratingData></OfflineAddressBookConfigXML>;

 


You might ask yourself: why upload those OAB files to the OAB generation mailbox at all? The answer is that this is how we maintain the continuity of OAB generation GUID2 in case of database switch/failover to another node.

So, what happens if the database fails over to another node?

At first client request for OAB download, the OABAssistant logs on to the OAB generation mailbox and then extracts the LZX files to %ExchangeInstallPath%\ClientAccess\OAB\, based on the manifest.information in the manifest file (OAB.xml).

To summarize a few points here:

  • OAB files generated on the disk are uploaded to the OAB generation mailbox
  • The files from the OAB generation mailbox are used if the database hosting OAB generation mailbox is switched/failed over.

Therefore, if the OAB manifest files cannot be (for any reason) copied from OAB generation mailbox, the OAB generation is triggered again, causing the reset of GUID2.

Troubleshooting

In our support ticket, whenever a failover happened, we observed the LZX files were stamped with a new GUID2, triggering the full OAB download on the clients.

Now that we know the OAB generation process, we can see that a new GUID at every failover can be caused by the manifest file not getting uploaded to the OAB generation mailbox.

To solve the mystery of missing OAB manifest file in the OAB generation mailbox, we checked our old friend the OABGeneratorLog and found that the manifest file was not getting uploaded to the OAB generation mailbox:

 

18352550            0             Error      12:54:14.865             13448    25652               ManagedStore.Common               ExceptionHandler             "Exception: ExExceptionMaxSubmissionExceeded Text: Microsoft.Exchange.Protocols.MAPI.ExExceptionMaxSubmissionExceeded: ErrorCode: MaxSubmissionExceeded, LID: 42792 - Message over size limitation

 

Hence, whenever there was an OAB request, the OAB generation would create a new GUID.

So, why was the Manifest file not uploaded? During the troubleshooting, we figured out that a setting called MaxSendSize on the OABGen mailbox was set to Unlimited. Well, it is interesting to note that the literal meaning of “unlimited” doesn’t apply here. This defaults to the transport config settings for the MaxSendSize, which was in this case set to 75 MB. But the size of the manifest file was 100 MB, therefore, over this limit.

This error was also reported in the OABGeneratorLog:

 

18352549            0             Error      12:54:14.862             13448    25652               ManagedStore.Mapi        Quota    Message 00000000-0000-0000-0000-000000000000[0]-0 over size limitation, current size=107762607, limitation=78643200

 

The solution here was to set the MaxSendSize on OABGen mailbox to a higher limit, to accommodate the size of the manifest file.

Hope the information here was useful in understanding and troubleshooting OAB generation and download issues!

Naveen Vasudevan

3 Comments
Occasional Visitor

Some great "legacy on-prem" deep dive. Love it! Thank you! :lol:

Senior Member

Thanks for sharing! May safe some headache one day or the other. Also interesting to see how the process works in general as this was never documented this way anywhere else before.