Home
%3CLINGO-SUB%20id%3D%22lingo-sub-992130%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20ProPlus%20Deployment%20and%20Proxy%20Server%20Guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-992130%22%20slang%3D%22en-US%22%3E%3CP%3EThank%20for%20this%20clear%20blog%2C%20it's%20a%20frequent%20issue%20on%20the%20field.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-849164%22%20slang%3D%22en-US%22%3EOffice%20365%20ProPlus%20Deployment%20and%20Proxy%20Server%20Guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-849164%22%20slang%3D%22en-US%22%3E%3CP%3EBy%20far%2C%20the%20most%20important%20prerequisite%20for%20successful%20Office%20365%20ProPlus%20deployment%20is%20network%20configuration.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EUnlike%20older%20versions%20of%20Office%2C%20Office%20365%20ProPlus%20was%20designed%20from%20the%20ground%20up%20to%20work%20with%20cloud%20services%20such%20as%20Microsoft%20Content%20Delivery%20Network%20(CDN).%26nbsp%3B%20Microsoft%20recommends%20IT%20Pros%20%E2%80%9CBypass%20or%20white%20list%20endpoints%20on%20network%20devices%20and%20services%20that%20perform%20traffic%20interception%2C%20SSL%20decryption%2C%20deep%20packet%20inspection%20and%20content%20filtering%E2%80%9D%20when%20accessing%20Microsoft%20Office%20365%20service%20endpoints.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20often%20find%20customers%20apply%20%E2%80%9Clegacy%E2%80%9D%20network%20configurations%20for%20on-premises%20only%20products%20to%20Office%20365%20ProPlus%20which%20can%20lead%20to%20slower%20product%20adoption%2C%20poor%20product%20performance%2C%20and%20higher%20cost%20of%20ownership.%26nbsp%3B%20The%20network%20requirements%20are%20documented%20in%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fenterprise%2Furls-and-ip-address-ranges%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOffice%20365%20URLs%20and%20IP%20address%20ranges%20document.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20goal%20of%20this%20blog%20is%20to%20clarify%20how%20IT%20Pros%20can%20optimize%20Office%20365%20ProPlus%20deployments%20with%20a%20proxy%20server%20in%20order%20to%20leverage%20a%20new%20concept%20called%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Blog%2FBuilding-dynamic-lean-amp-universal-packages-for-Office-365%2Fba-p%2F839658%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3EHybrid%20or%20%E2%80%9CLean%20Installs%E2%80%9D.%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20terms%20of%20Office%20365%20ProPlus%20general%20deployment%2C%20we%20have%20several%20broad%20approaches.%20We%E2%80%99re%20going%20to%20focus%20on%20the%203%3CSUP%3Erd%3C%2FSUP%3E%20option%2C%20%22SCCM%20with%20Office%20CDN%20fallback%22%20or%20%22Lean%20Install%22.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EOn-premises%20only%3C%2FSTRONG%3E%E2%80%93%20download%20and%20mirror%20all%20content%20from%20CDN%20on-premises.%20Enterprise%20customers%20have%20a%20variety%20of%20install%20packages%20(Base%20Office%2C%20Visio%2C%20Project%2C%20Visio%20%2B%20Project%2C%20second%20installs%20for%20languages).%26nbsp%3B%20All%20Office%20365%20ProPlus%20builds%20are%20cumulative%20and%20are%20updated%20monthly%20which%20can%20make%20this%20cumbersome%20and%20difficult%20to%20maintain%20as%20each%20permutation%20requires%20refreshed%20content.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3ECloud%20only%3C%2FSTRONG%3E%E2%80%93%20installations%20from%20the%20Office%20portal%20and%20update%20workflow%20occur%20using%20CDN.%20End%20users%20in%20the%20enterprise%20are%20normally%20not%20Administrators%20so%20self-service%20installations%20from%20portal.office.com%20are%20blocked.%26nbsp%3B%20Further%2C%20installation%20from%20CDN%20doesn%E2%80%99t%20currently%20support%20custom%20configuration%20files%20to%20exclude%20applications%20and%20so%20forth.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Blog%2FBuilding-dynamic-lean-amp-universal-packages-for-Office-365%2Fba-p%2F839658%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3ESCCM%20with%20Office%20CDN%20fallback%20or%20%E2%80%9CLean%20Install%E2%80%9D%3C%2FA%3E%E2%80%93%20IT%20Pros%20use%20SCCM%20(which%20has%20elevated%20permissions%20and%20allows%20custom%20configuration.xml%20files)%20to%20deploy%20Office%20365%20ProPlus%20but%20can%20either%20omit%20all%20or%20portions%20of%20the%20installation%20source%20and%20use%20CDN%20content.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%2076px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131184iE89254BAD76703A4%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20alt%3D%22note.png%22%20title%3D%22note.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3ESCCM%20is%20not%20a%20requirement%20to%20adopt%20%E2%80%9CLean%20Install%E2%80%9D%20approach.%20If%20you%20are%20using%203rd%20party%20deployment%20tool%2C%20identify%20user%20context%20of%20process%20using%20process%20monitor%20and%20adopt%20proxy%20strategy%20below.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ELean%20install%20examples%3A%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E1%3CSUP%3Est%3C%2FSUP%3EInstall%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3ESCCM%20package%20contains%20all%20Office%20365%20ProPlus%20content%20and%20only%20subset%20of%20languages.%20You%20support%2012%20languages%20but%20only%20include%20two%20primary%20languages%20in%20the%20application%20source%20to%20minimize%20content%20and%20include%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fconfiguration-options-for-the-office-2016-deployment-tool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAllowCdnFallback%3C%2FA%3Eas%20Enabled%20within%20configuration.xml.%26nbsp%3B%20During%20the%20Office%20365%20ProPlus%20installation%20process%2C%20the%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2FODT%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOffice%20Deployment%20Tool%3C%2FA%3E(ODT)%20looks%20first%20for%20source%20files%20in%20local%20working%20directory.%20If%20the%20language%20pack%20files%20required%20aren%E2%80%99t%20available%20in%20local%20source%20location%20and%20the%20AllowCdnFallback%20setting%20within%20configuration.xml%20is%20set%20to%20True%2C%20then%20the%20ODT%20will%20leverage%20the%20Office%20CDN%20for%20the%20missing%20ones.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E2%3CSUP%3End%3C%2FSUP%3EInstall%20%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EOffice%20may%20need%20to%20be%20reconfigured%20to%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Blog%2FNew-feature-Make-changes-to-Office-deployments-without-changing%2Fba-p%2F816482%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Emake%20changes%20to%20Office%20deployments%20without%20changing%20the%20version%2C%20like%20adding%20a%20language%20or%20Project%2FVisio%3C%2FA%3E.%20In%20this%20case%2C%20we%20only%20want%20the%20required%20bits%20to%20perform%20the%20change%20and%20nothing%20else.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAll%20example%20scenarios%20above%20depend%20on%20the%20CDN%20to%20fetch%20content%20when%20embracing%20these%20new%20%E2%80%9CLean%20Install%E2%80%9D%20approaches.%26nbsp%3B%20The%20primary%20reason%20we%20want%20to%20lean%20on%20the%20CDN%20is%20because%20it%20allows%20Office%20365%20ProPlus%20to%20only%20download%20the%20bits%20it%20requires%20for%20the%20change%20request%20resulting%20in%20the%20smallest%20network%20payload%20possible.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EExploring%202%3CSUP%3End%3C%2FSUP%3E%3CSPAN%20style%3D%22font-size%3A%2012px%3B%22%3E%26nbsp%3B%3C%2FSPAN%3EInstall%20Scenario%20in%20detail%20in%20terms%20of%20content%20size%3A%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EIT%20Pro%20wants%20to%20perform%20a%202%3CSUP%3End%3C%2FSUP%3Einstall%20to%20add%20Project%20to%20an%20existing%20Office%20365%20ProPlus%20installation%20on%20one%20machine.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20we%20use%20%3CSTRONG%3ESCCM%20on-premises%20only%20strategy%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3ESCCM%20will%20download%20full%20Office%20content%20from%20CDN%20~2GB.%26nbsp%3B%20SCCM%20will%20then%20copy%20this%20content%20to%20all%20distribution%20points%20to%20support%20scenario.%26nbsp%3B%20Let%E2%80%99s%20assume%20an%20enterprise%20customer%20has%2050%20distribution%20points%2C%202%20GB%20*%2050%20%3D%20%3CSTRONG%3E100%20%3CU%3EGB%3C%2FU%3E%3C%2FSTRONG%3Eper%20month%20%3CU%3Eevery%3C%2FU%3Emonth%20(build%20needs%20to%20be%20up%20to%20date%20as%20to%20not%20downgrade%20client%20introducing%20security%20concerns).%26nbsp%3B%20Office%20365%20ProPlus%20builds%20are%20cumulative%2C%20irrespective%20of%20channel%2C%20so%20this%20content%20changes%20each%20month.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20we%20use%20%3CSTRONG%3ESCCM%20with%20Office%20CDN%20fallback%3C%2FSTRONG%3E%3A%3C%2FP%3E%0A%3CP%3ESCCM%20calls%20ODT%20Setup.exe%20%2Fconfigure%20to%20add%20Project%2C%20only%20%3CSTRONG%3E~41%20%3CU%3EMB%3C%2FU%3E%3C%2FSTRONG%3Ewill%20be%20downloaded%20from%20CDN.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%2076px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131185i1A631978DDAAB9AE%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20alt%3D%22note.png%22%20title%3D%22note.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMake%20sure%20to%20use%20MatchInstalled%20parameter%20in%20your%20XML.%20Ensure%20Delivery%20Optimization%20is%20working%20for%20further%20efficiency.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWe%20expect%20most%20customers%20will%20download%20and%20cache%20all%20Office%20365%20ProPlus%20content%20one%20time%20to%20existing%20machines%20to%20perform%20an%20upgrade%20to%20Office%20365%20ProPlus%20but%20once%20installed%20we%20recommend%20to%20leverage%20the%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FOffice-365-Blog%2FBuilding-dynamic-lean-amp-universal-packages-for-Office-365%2Fba-p%2F839658%22%20target%3D%22_blank%22%20rel%3D%22noopener%22%3Elean%20technique%3C%2FA%3Egoing%20forward.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%2076px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131186i828A29E449B75CA6%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20alt%3D%22note.png%22%20title%3D%22note.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EHaving%20%E2%80%9Clean%E2%80%9D%20applications%20in%20SCCM%20also%20means%20they%20rarely%20need%20to%20be%20updated.%20An%20occasional%20refresh%20of%20the%20Office%20Deployment%20Tool%20(ODT)%20is%20good%20idea.%20(Less%20than%2010%20MB)%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ETip%3A%20There%20are%20several%20ODT%20features%20which%20can%20benefit%20from%20approach%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdeployoffice%2Fconfiguration-options-for-the-office-2016-deployment-tool%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFallbacktoCDN%2C%20MatchPreviousMSI%2C%20MatchInstalled%2C%20MatchOS%3C%2FA%3E)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%20id%3D%22toc-hId-1820319473%22%3EProxy%20Challenge%3C%2FH2%3E%0A%3CP%3ETo%20be%20clear%2C%20even%20if%20the%20lean%20installation%20is%20triggered%20by%20an%20admin%20user%2C%20it%20still%20requires%20the%20computer%20(System%20account)%20to%20be%20able%20to%20access%20the%20internet%20in%20order%20to%20support%20all%20installation%20scenarios.%20%26nbsp%3BMost%20of%20the%20customers%20we%20visit%20in%20the%20field%20prohibit%20computers%20from%20accessing%20the%20internet%20directly.%26nbsp%3B%20Typically%2C%20only%20Users%20can%20access%20the%20internet%20through%20a%20proxy%20server%20or%20via%20PAC%20file.%26nbsp%3B%20These%20User%20settings%20are%20defined%20as%20WinINET%20proxy%20setting%20you%E2%80%99ll%20find%20in%20Internet%20Explorer.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20248px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131187iE0E844D30B458F7A%2Fimage-dimensions%2F248x218%3Fv%3D1.0%22%20width%3D%22248%22%20height%3D%22218%22%20alt%3D%22WinINET.png%22%20title%3D%22WinINET.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EStandard%20proxy%20configuration%20in%20Internet%20Explorer%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESo%2C%20what%20about%20the%20local%20SYSTEM%20account%20needed%20by%20SCCM%3F%26nbsp%3B%20If%20customers%20follow%20guidance%20to%20allow%20users%20and%20computers%20direct%20access%20to%20Office%20365%20endpoints%2C%20everything%20%E2%80%9Cjust%20works%E2%80%9D.%26nbsp%3B%20However%2C%20often%20we%20find%20customers%20only%20configure%20network%20proxy%20for%20Users%20and%20therefore%20the%20%E2%80%9Clean%20install%E2%80%9D%20scenarios%20fail.%20(Installation%20will%20hang%20as%20Office%20Deployment%20Tool%20running%20as%20SYSTEM%20process%20will%20fail%20when%20attempting%20to%20access%20Office%20CDN)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOK%2C%20what%20can%20we%20do%20to%20solve%20problem%3F%26nbsp%3B%20Configure%20additional%20proxy%20settings%20using%20Microsoft%20Windows%20HTTP%20Services%20(WinHTTP)%20and%20Background%20Intelligent%20Transfer%20Service%20(BITS)%20for%20System%20Account.%26nbsp%3B%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ERecommended%20actions%3C%2FSTRONG%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EConfigure%20WinINET%20Proxy%20for%20SYSTEM%3C%2FLI%3E%0A%3CLI%3ESync%20configuration%20from%20WinINET%20to%20WinHTTP%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E*In%20this%20way%2C%20we%20ensure%20one%20proxy%20configuration%20is%20set%20for%20WinINET%20and%20WinHTTP%20regardless%20of%20application%20caller%20and%20network%20API%20used.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%2076px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131188i51C2E95C4A778A1D%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20alt%3D%22note.png%22%20title%3D%22note.png%22%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EIn%20my%20lab%20I%20use%20PSEXEC.EXE%20to%20accelerate%20testing.%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EFrom%20elevated%20command%20prompt%2C%20run%20PSEXEC.EXE%20-s%20-i%20cmd.exe.%26nbsp%3B%20This%20will%20launch%20cmd.exe%20process%20in%20the%20SYSTEM%20context%20to%20simulate%20SCCM%20package%20etc.%26nbsp%3B%20Type%20whoami%20from%20command%20line%20to%20verify.%3C%2FP%3E%0A%3CPRE%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%222%22%3EC%3A%5CWindows%5CSystem32%26gt%3Bwhoami%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%222%22%3Ent%20authority%5Csystem%3C%2FFONT%3E%3C%2FPRE%3E%0A%3CP%3ESample%20commands%20to%20set%20WinINET%20and%20import%20into%20WinHTTP%3A%3C%2FP%3E%0A%3CPRE%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%222%22%3EC%3A%5CWindows%5CSystem32%26gt%3Bbitsadmin%20%2Futil%20%2Fsetieproxy%20localsystem%20MANUAL_PROXY%20proxy.contoso.com%3A8080%20%22%3B*.contoso.com%22%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%222%22%3EC%3A%5CWindows%5CSystem32%26gt%3Bnetsh.exe%20winhttp%20import%20proxy%20source%3Die%3C%2FFONT%3E%3C%2FPRE%3E%0A%3CP%3ESample%20commands%20to%20reset%3A%3C%2FP%3E%0A%3CPRE%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%222%22%3EC%3A%5Cwindows%5Csystem32%26gt%3Bbitsadmin%20%2Futil%20%2Fsetieproxy%20localsystem%20RESET%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20face%3D%22courier%20new%2Ccourier%22%20size%3D%222%22%3EC%3A%5Cwindows%5Csystem32%26gt%3Bnetsh%20winhttp%20reset%20proxy%3C%2FFONT%3E%3C%2FPRE%3E%0A%3CP%3EThe%20proxy%20server%5Cnetwork%20team%20should%20only%20allow%20computer%20access%20to%20internet%20URLs%20as%20defined%20by%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice365%2Fenterprise%2Furls-and-ip-address-ranges%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EOffice%20365%20URLs%20and%20IP%20address%20ranges%20document%3C%2FA%3Eas%20well%20as%20any%20other%20URLs%20that%20they%20want%20to%20explicitly%20allow%20the%20Computer%20account%20to%20access.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20summary%2C%20configuring%20a%20SYSTEM%20proxy%20enables%20adopting%20a%20%E2%80%9Clean%E2%80%9D%20Office%20365%20ProPlus%20deployment%20strategy%20which%20can%20greatly%20reduce%20complexity%20and%20cost%20of%20ownership%20to%20operate%20Office%20365%20ProPlus.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAdditional%20Reference%20Documentation%20on%20proxy%20configuration%20for%20Windows%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsupport.microsoft.com%2Fen-us%2Fhelp%2F4494447%2Fuse-group-policy-to-apply-winhttp-proxy-settings-to-clients%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EUse%20Group%20Policy%20to%20apply%20WinHTTP%20proxy%20settings%20to%20Windows%20clients%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows-server%2Fadministration%2Fwindows-commands%2Fbitsadmin-util-and-setieproxy%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ebitsadmin%20util%20and%20setieproxy%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-849164%22%20slang%3D%22en-US%22%3E%3CP%3ELet's%20talk%20about%20how%20to%20optimize%20Office%20365%20ProPlus%20deployments%20behind%20a%20network%20proxy.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20200px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F131191i1501CA144D860313%2Fimage-size%2Fsmall%3Fv%3D1.0%26amp%3Bpx%3D200%22%20alt%3D%22blogimage_blue.png%22%20title%3D%22blogimage_blue.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-849164%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELean%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Enetwork%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EODT%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%20ProPlus%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20Deployment%20Tool%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPAC%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eproxy%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1098672%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20ProPlus%20Deployment%20and%20Proxy%20Server%20Guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1098672%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20this%20article%2C%20but%20I%20need%20to%20challenge%20you%20on%20it%20I'm%20afraid.%26nbsp%3B%20I'm%20struggling%20to%20understand%20why%20this%20advice%20for%20the%20Microsoft%20Office%20Click-to-Run%20Service%20deviates%20from%20previous%20best%20practice%20advice%20gathered%20by%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F317619%22%20target%3D%22_blank%22%3E%40ericlaw%3C%2FA%3E%26nbsp%3Bfor%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Farchive%2Fblogs%2Fieinternals%2Funderstanding-web-proxy-configuration%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%22well-written%22%20WinHTTP%20apps%20running%20as%20SYSTEM%3C%2FA%3E.%20Use%20user%20impersonation.%20Most%20other%20Microsoft%20PGs%20and%203rd%20parties%2C%20e.g%2C%20those%20based%20on%20the%20Omaha%20opensource%20project%2C%20like%20the%20Google%20Update%20Service%2C%20or%20your%20own%20Microsoft%20Edge%20Update%20Service%20accomplishes%20this%20just%20fine.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'd%20really%20love%20some%20rationale%20please.%20Is%20this%20a%20general%20change%20in%20tack%20across%20Microsoft%20or%20just%20an%20Office%20Click%20to%20Run%20directional%2Fworkaround%20steer%20only%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EScalability%20in%20larger%20global%20enterprises%20of%20such%20a%20solution%20aside%2C%20from%20a%20security%20perspective%20you%20can't%20possibly%20expect%20an%20enterprise%20to%20directly%20proxy%20the%20WinHTTP%20service%20on%20all%20our%20clients%20in%20order%20to%20permit%20the%20Microsoft%20Office%20Click-to-Run%20Service%20to%20be%20able%20to%20reach%20the%20Office%20CDN%3F%26nbsp%3B%20I'm%20sorry%2C%20in%20my%20view%2C%20user%20impersonation%20is%20broke%20with%20the%26nbsp%3BMicrosoft%20Office%20Click-to-Run%20Service.%26nbsp%3B%20Proxied%20CDN%20downloads%20still%20fall%20flat%20for%20us%2C%20and%20it%20needs%20to%20be%20fixed%20please.%20Lean%20installs%20of%20ProPlus%20(which%20we'd%20love%20to%20adopt)%20and%20fallback%20to%20CDN%20for%20those%20missing%20bits%20we%20don't%20have%20on-prem%20cannot%20be%20for%20us%20I'm%20afraid%20until%20this%20is%20addressed.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks%2C%20I%20look%20forward%20to%20your%20response%20and%20perhaps%20some%20input%20from%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F317619%22%20target%3D%22_blank%22%3E%40ericlaw%3C%2FA%3E%20and%20others!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1099363%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20ProPlus%20Deployment%20and%20Proxy%20Server%20Guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1099363%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F51673%22%20target%3D%22_blank%22%3E%40Duncan%20McLellan%3C%2FA%3E%26nbsp%3BThank%20you%20for%20your%20post.%26nbsp%3B%20Starting%20with%20Office%20365%20ProPlus%20Semi-Annual%20Channel%20from%20July%202019%26nbsp%3BVersion%201902%20(Build%2011328.20368)%2C%20several%20enhancements%20were%20added%20to%20help%20address%20this%20type%20of%20scenario.%20First%2C%20Office%20has%20been%20updated%20to%20use%20API%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fdocs.microsoft.com%252Fen-us%252Fwindows%252Fwin32%252Fapi%252Fwinhttp%252Fnf-winhttp-winhttpopen%26amp%3Bdata%3D02%257C01%257Cdavguent%2540microsoft.com%257Cf41a6176789b49698f0908d77aa6f2af%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637112729760051982%26amp%3Bsdata%3DjnsT5%252B1YcrMzg805u1qqU8zHbY1xqXFMw1UISR3%252BffY%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EWINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY%3C%2FA%3E.%20This%20allows%20us%20to%20use%20system%20proxy%20(winhttp)%20and%20per-user%20proxy%20settings%20(IE).%20When%20using%20per-user%20IE%20proxy%2C%20it%20uses%20the%20IE%20proxy%20of%20current%20user.%20If%20the%20process%20is%20running%20under%20System%20(SCCM%20scenario)%2C%20it%20can%20use%20the%20IE%20proxy%20for%20System.%20Therefore%2C%20our%20first%20recommendation%20is%20to%20%22Configure%20WinINET%20Proxy%20for%20SYSTEM%22.%20In%20terms%20of%20impersonation%2C%20if%20the%20process%20is%20running%20under%20System%20but%20System%20account%20is%20blocked%20to%20access%20network%20and%20doesn't%20have%20any%20proxy%20settings%2C%20our%20Office%20Click-to-Run%20processes%20attempt%20impersonation%20under%20current%20logged%20in%20user.%20This%20also%20means%20if%20no%20user%20is%20logged%20on%2C%20impersonation%20is%20not%20possible%20which%20can%20be%20common%20scenario%20when%20SCCM%20deployments%20occur%20during%20off%20peak%20hours%20such%20as%20maintenance%20windows.%20If%20you%20have%20System%20proxy%20configured%20for%20WinINET%20or%20WinHTTP%20and%20are%20not%20gaining%20access%20to%20network%20as%20expected%20during%20Office%20installs%20etc.%2C%20you%20may%20want%20to%20reach%20out%20to%20Microsoft%20Customer%20Service%20and%20Support%20to%20investigate%20with%20you%20further%20to%20scope%20your%20specific%20environmental%20needs.%20I%20hope%20this%20explanation%20helps%2C%20thank%20you%20for%20your%20comments.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1125246%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20ProPlus%20Deployment%20and%20Proxy%20Server%20Guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1125246%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F395276%22%20target%3D%22_blank%22%3E%40Duncan%3C%2FA%3E%26nbsp%3BI%20re-validated%20this%20morning%20in%20my%20lab%20using%20Office%20Automatic%20Updates%202.0%20scheduled%20task%20to%20update%20behind%20proxy%20(Squid).%26nbsp%3B%20The%20only%20proxy%20configuration%20exists%20in%20WinINET%20for%20the%20logged%20on%20end%20User%2C%20therefore%20System%20processes%20have%20no%20access%20to%20internet%20at%20all.%26nbsp%3B%20I%20verified%20that%20Office%20processes%20running%20as%20System%20log%20%22IdentityContext%3A%3ATryGetImpersonationToken%20-%20Successfully%20retrieving%20token%20from%20User%20process%22%20in%20Office%20logs%20and%20then%20is%20able%20update%20from%20Version%201902%20(Build%2011328.20492)%20-%26gt%3B%20Version%201908%20(Build%2011929.20562).%26nbsp%3B%20I%20can%20confirm%20in%20generic%20lab%20scenario%5Crepro%2C%20this%20does%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1116064%22%20slang%3D%22en-US%22%3ERe%3A%20Office%20365%20ProPlus%20Deployment%20and%20Proxy%20Server%20Guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1116064%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F222575%22%20target%3D%22_blank%22%3E%40Dave%20Guenthner%3C%2FA%3E%26nbsp%3B%20thank%20you%20for%20your%20response.%20Today%20we%20rely%20100%25%20on%20impersonation%20of%20the%20logged%20on%20user%20for%20connectivity%20to%20the%20Office%20CDN.%20We%20appreciate%20the%20limitation%20in%20that%20we%20can't%20update%20Office%20without%20a%20user%20being%20logged%20in.%20For%26nbsp%3Bsecurity%20reasons%20we%20will%20not%20proxy%20the%20SYSTEM%20account%3C%2FP%3E%3CP%3EUnfortunately%26nbsp%3Beven%20with%20impersonation%2C%20CDN%20downloads%20fail%20at%20the%20vast%20majority%20of%20our%20sites%2C%20and%20we%20don't%20know%20why.%3C%2FP%3E%3CP%3EWe%20use%20Zscaler%20and%20one%20click%20for%20O365%20is%20enabled%2C%20so%20it%20should%20not%20be%20that.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

By far, the most important prerequisite for successful Office 365 ProPlus deployment is network configuration. 

 

Unlike older versions of Office, Office 365 ProPlus was designed from the ground up to work with cloud services such as Microsoft Content Delivery Network (CDN).  Microsoft recommends IT Pros “Bypass or white list endpoints on network devices and services that perform traffic interception, SSL decryption, deep packet inspection and content filtering” when accessing Microsoft Office 365 service endpoints.  

 

We often find customers apply “legacy” network configurations for on-premises only products to Office 365 ProPlus which can lead to slower product adoption, poor product performance, and higher cost of ownership.  The network requirements are documented in Office 365 URLs and IP address ranges document.

 

The goal of this blog is to clarify how IT Pros can optimize Office 365 ProPlus deployments with a proxy server in order to leverage a new concept called Hybrid or “Lean Installs”.

 

In terms of Office 365 ProPlus general deployment, we have several broad approaches. We’re going to focus on the 3rd option, "SCCM with Office CDN fallback" or "Lean Install".

 

  • On-premises only – download and mirror all content from CDN on-premises. Enterprise customers have a variety of install packages (Base Office, Visio, Project, Visio + Project, second installs for languages).  All Office 365 ProPlus builds are cumulative and are updated monthly which can make this cumbersome and difficult to maintain as each permutation requires refreshed content.
  • Cloud only – installations from the Office portal and update workflow occur using CDN. End users in the enterprise are normally not Administrators so self-service installations from portal.office.com are blocked.  Further, installation from CDN doesn’t currently support custom configuration files to exclude applications and so forth.
  • SCCM with Office CDN fallback or “Lean Install” – IT Pros use SCCM (which has elevated permissions and allows custom configuration.xml files) to deploy Office 365 ProPlus but can either omit all or portions of the installation source and use CDN content.

SCCM is not a requirement to adopt “Lean Install” approach.  If you are using 3rd party deployment tool, identify user context of process using process monitor and adopt proxy strategy below.SCCM is not a requirement to adopt “Lean Install” approach. If you are using 3rd party deployment tool, identify user context of process using process monitor and adopt proxy strategy below.

Lean install examples:

1st Install

SCCM package contains all Office 365 ProPlus content and only subset of languages. You support 12 languages but only include two primary languages in the application source to minimize content and include AllowCdnFallback as Enabled within configuration.xml.  During the Office 365 ProPlus installation process, the Office Deployment Tool (ODT) looks first for source files in local working directory. If the language pack files required aren’t available in local source location and the AllowCdnFallback setting within configuration.xml is set to True, then the ODT will leverage the Office CDN for the missing ones.

 

2nd Install

Office may need to be reconfigured to make changes to Office deployments without changing the version, like adding a language or Project/V.... In this case, we only want the required bits to perform the change and nothing else.

 

All example scenarios above depend on the CDN to fetch content when embracing these new “Lean Install” approaches.  The primary reason we want to lean on the CDN is because it allows Office 365 ProPlus to only download the bits it requires for the change request resulting in the smallest network payload possible. 

 

Exploring 2nd Install Scenario in detail in terms of content size:

IT Pro wants to perform a 2nd install to add Project to an existing Office 365 ProPlus installation on one machine. 

 

If we use SCCM on-premises only strategy:

SCCM will download full Office content from CDN ~2GB.  SCCM will then copy this content to all distribution points to support scenario.  Let’s assume an enterprise customer has 50 distribution points, 2 GB * 50 = 100 GB per month every month (build needs to be up to date as to not downgrade client introducing security concerns).  Office 365 ProPlus builds are cumulative, irrespective of channel, so this content changes each month.

 

If we use SCCM with Office CDN fallback:

SCCM calls ODT Setup.exe /configure to add Project, only ~41 MB will be downloaded from CDN instead of ~2GB (without language packs). 

Make sure to use MatchInstalled parameter in your XML.  Ensure Delivery Optimization is working for further efficiency.Make sure to use MatchInstalled parameter in your XML. Ensure Delivery Optimization is working for further efficiency.

We expect most customers will download and cache all Office 365 ProPlus content one time to existing machines to perform an upgrade to Office 365 ProPlus but once installed we recommend to leverage the lean technique going forward.

Having “lean” applications in SCCM also means they rarely need to be updated.  An occasional refresh of the Office Deployment Tool (ODT) is good idea. (Less than 10 MB)Having “lean” applications in SCCM also means they rarely need to be updated. An occasional refresh of the Office Deployment Tool (ODT) is good idea. (Less than 10 MB)

Tip: There are several ODT features which can benefit from approach (FallbacktoCDN, MatchPreviousMSI, MatchInstalled, MatchOS)

 

Proxy Challenge

It seems there are an infinite number of ways customers secure egress traffic to internet for security and compliance.  Some don't configure a proxy within Windows and some do.  The Office team is always looking for opportunities to reduce network friction where possible.  One example is product change in terms of transport used from BITS to Delivery Optimization (DO) with fallback when downloading files during product installation and update workflow.  Delivery Optimization provides user impersonation which will allow connectivity to internet when an interactive user is logged on with WinINET internet access even if System account has no internet access.  By default, Delivery Optimization as a technology was designed to download portions of the content from peers in their network.  Customers who have investments in SCCM can enable Microsoft Connected Cache in Configuration Manager which can be a powerful combination of these technologies.  In this way, Office can leverage Windows network stack feature Delivery Optimization and combine that with System Center Configuration Manager for increased network efficiency.  Customers can use Delivery Optimization in Update Compliance dashboard to see metrics about Office peer sharing efficiency.  SCCM IT Pros can reduce operational costs by eliminating need to manually download and distribute static content to Distribution Points and allow Office to dynamically populate cache based on their needs regardless of channel or version and at the same time remain in control of what versions of Office are deployed to their clients.  The transport change to Delivery Optimization for Office downloads is currently rolling out now and should be completed by July 2020 in Semi-Annual Channel.  IT Pros don't need to do anything intentional to take advantage of these enhancements.

 

Many customers we visit in the field prohibit computers from accessing the internet directly.  Typically, only Users can access the internet through a proxy server or via PAC file.  These User settings are defined as WinINET proxy setting you’ll find in Internet Explorer. 

Standard proxy configuration in Internet ExplorerStandard proxy configuration in Internet Explorer

So, what about the local SYSTEM account needed by SCCM?  If customers allow users and computers access to Office 365 endpoints, everything “just works”.  However, often we find customers only configure network proxy for Users and therefore the “lean install” or update scenarios driven by Office Automatic Updates 2.0 scheduled task may fail when user is not interactively logged on as user impersonation is not possible. (Example: Installation will hang as Office Deployment Tool running as System process will fail when attempting to access Office CDN)

 

OK, what can we do to solve problem?  Configure network perimeter device to white list Office CDN\URLs or configure additional proxy settings within Windows.

 

Alternatives:

  1. Configure WinHTTP proxy (if no interactive user) as DO runs as Network Service
  2. If DO fails, attempt to fallback to BITS will respect WinINET for System account

*Installs and Updates can still succeed without System proxy via User Impersonation through interactive logged on user session who does have internet access but this can limit ability to perform deployments after hours when no user session is present or ensuring update compliance if computers are not logged on regularly.

 

In my lab I use PSEXEC.EXE to accelerate testing.In my lab I use PSEXEC.EXE to accelerate testing.

From elevated command prompt, run PSEXEC.EXE -s -i cmd.exe.  This will launch cmd.exe process in the SYSTEM context to simulate SCCM package etc.  Type whoami from command line to verify.

C:\Windows\System32>whoami
nt authority\system

Sample commands to set WinINET and import into WinHTTP:

C:\Windows\System32>bitsadmin /util /setieproxy localsystem MANUAL_PROXY proxy.contoso.com:8080 ";*.contoso.com"
C:\Windows\System32>netsh.exe winhttp import proxy source=ie

Sample commands to reset:

C:\windows\system32>bitsadmin /util /setieproxy localsystem RESET
C:\windows\system32>netsh winhttp reset proxy

The proxy server\network team should only allow computer access to internet URLs as defined by Office 365 URLs and IP address ranges document as well as any other URLs that they want to explicitly allow the Computer account to access.  A number of network appliance vendors provide seamless Office 365 integration as a feature by calling Microsoft Graph API to dynamically populate network access list.

 

In summary, using a “lean” Office 365 ProPlus deployment strategy will greatly reduce complexity and cost of ownership to operate Office 365 ProPlus. 

 

Additional Reference Documentation and tools for proxy configuration for Windows

Office 365 Network Onboarding tool

Use Group Policy to apply WinHTTP proxy settings to Windows clients

bitsadmin util and setieproxy

7 Comments
Microsoft

Thank for this clear blog, it's a frequent issue on the field.

Occasional Contributor

Thanks for this article, but I need to challenge you on it I'm afraid.  I'm struggling to understand why this advice for the Microsoft Office Click-to-Run Service deviates from previous best practice advice gathered by @ericlaw for "well-written" WinHTTP apps running as SYSTEM. Use user impersonation. Most other Microsoft PGs and 3rd parties, e.g, those based on the Omaha opensource project, like the Google Update Service, or your own Microsoft Edge Update Service accomplishes this just fine. 

 

I'd really love some rationale please. Is this a general change in tack across Microsoft or just an Office Click to Run directional/workaround steer only? 

  

Scalability in larger global enterprises of such a solution aside, from a security perspective you can't possibly expect an enterprise to directly proxy the WinHTTP service on all our clients in order to permit the Microsoft Office Click-to-Run Service to be able to reach the Office CDN?  I'm sorry, in my view, user impersonation is broke with the Microsoft Office Click-to-Run Service.  Proxied CDN downloads still fall flat for us, and it needs to be fixed please. Lean installs of ProPlus (which we'd love to adopt) and fallback to CDN for those missing bits we don't have on-prem cannot be for us I'm afraid until this is addressed.

 

Many thanks, I look forward to your response and perhaps some input from @ericlaw and others!

Microsoft

@Duncan McLellan Thank you for your post.  Starting with Office 365 ProPlus Semi-Annual Channel from July 2019 Version 1902 (Build 11328.20368), several enhancements were added to help address this type of scenario. First, Office has been updated to use API WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY. This allows us to use system proxy (winhttp) and per-user proxy settings (IE). When using per-user IE proxy, it uses the IE proxy of current user. If the process is running under System (SCCM scenario), it can use the IE proxy for System. Therefore, our first recommendation is to "Configure WinINET Proxy for SYSTEM". In terms of impersonation, if the process is running under System but System account is blocked to access network and doesn't have any proxy settings, our Office Click-to-Run processes attempt impersonation under current logged in user. This also means if no user is logged on, impersonation is not possible which can be common scenario when SCCM deployments occur during off peak hours such as maintenance windows. If you have System proxy configured for WinINET or WinHTTP and are not gaining access to network as expected during Office installs etc., you may want to reach out to Microsoft Customer Service and Support to investigate with you further to scope your specific environmental needs. I hope this explanation helps, thank you for your comments.

Occasional Contributor

@Dave Guenthner  thank you for your response. Today we rely 100% on impersonation of the logged on user for connectivity to the Office CDN. We appreciate the limitation in that we can't update Office without a user being logged in. For security reasons we will not proxy the SYSTEM account

Unfortunately even with impersonation, CDN downloads fail at the vast majority of our sites, and we don't know why.

We use Zscaler and one click for O365 is enabled, so it should not be that.

Microsoft

@Duncan I re-validated this morning in my lab using Office Automatic Updates 2.0 scheduled task to update behind proxy (Squid).  The only proxy configuration exists in WinINET for the logged on end User, therefore System processes have no access to internet at all.  I verified that Office processes running as System log "IdentityContext::TryGetImpersonationToken - Successfully retrieving token from User process" in Office logs and then is able update from Version 1902 (Build 11328.20492) -> Version 1908 (Build 11929.20562).  I can confirm in generic lab scenario\repro, this does work.

Occasional Contributor

Thanks @Dave Guenthner. We will need to bottom out what's wrong on our end then.  We have no issues with normal web browsing, or Chrome or Edge (Chromium) autoupdates (which both rely on impersonation). And as mentioned we use Zscaler One-Click, so the constant additions and changes to the Office 365 URLs and IP address ranges are all catered for.  Are there any other special networking requirements we need to be aware of perhaps? 

Microsoft

@Duncan McLellan I performed additional testing and did find a pattern leading to unexpected results [ERR].  I will investigate\escalate on our side, will take some time and update thread in coming weeks.  Stay tuned.