Share via


O365 Deployment failure exit code of 17002 ~~SCCM 2012

Question

Wednesday, June 1, 2016 10:07 AM

Attempting  to deploy Office 365 Pro Plus most of clients getting failed and return code is 17004 &17002.

below my .xml file 

<Configuration>
**  <Add SourcePath="" Version="16.0.6868.2067" OfficeClientEdition="32" Branch="Current" OfficeMgmtCOM="True">**
**    <Product ID="O365ProPlusRetail">**
**      <Language ID="en-us" />**
**      <Language ID="ar-sa" />**
**    </Product>**
**  </Add>**
**  <Updates Enabled="TRUE" /> **
**  <Display Level="None" AcceptEULA="TRUE" />**
</Configuration>

Below appenforce.log

+++ Starting Install enforcement for App DT "Install - Microsoft Office 365 ProPlus (32 bit)-(En-Ar)" ApplicationDeliveryType - ScopeId_18EB0783-06E8-4203-81E3-0D3DDB4FD960/DeploymentType_54e601c3-8213-40bf-880a-73aaf0083c91, Revision - 4, ContentPath - C:\Windows\ccmcache\5v, Execution Context - System AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
    A user is logged on to the system. AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
    Performing detection of app deployment type Install - Microsoft Office 365 ProPlus (32 bit)-(En-Ar)(ScopeId_18EB0783-06E8-4203-81E3-0D3DDB4FD960/DeploymentType_54e601c3-8213-40bf-880a-73aaf0083c91, revision 4) for system. AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
+++ Application not discovered. [AppDT Id: ScopeId_18EB0783-06E8-4203-81E3-0D3DDB4FD960/DeploymentType_54e601c3-8213-40bf-880a-73aaf0083c91, Revision: 4] AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
    App enforcement environment: 
Context: Machine
Command line: setup.exe /configure Install-32bit.xml
Allow user interaction: No
UI mode: 1
User token: null
Session Id: 4294967295
Content path: C:\Windows\ccmcache\5v
Working directory: AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
    Prepared working directory: C:\Windows\ccmcache\5v AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
    Prepared command line: "C:\Windows\ccmcache\5v\setup.exe" /configure Install-32bit.xml AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
    Executing Command line: "C:\Windows\ccmcache\5v\setup.exe" /configure Install-32bit.xml with system context AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
    Working directory C:\Windows\ccmcache\5v AppEnforce 6/1/2016 12:44:01 PM 6788 (0x1A84)
    Post install behavior is BasedOnExitCode AppEnforce 6/1/2016 12:44:02 PM 6788 (0x1A84)
    Waiting for process 2904 to finish.  Timeout = 120 minutes. AppEnforce 6/1/2016 12:44:02 PM 6788 (0x1A84)
    Process 2904 terminated with exitcode: 17002 AppEnforce 6/1/2016 12:44:17 PM 6788 (0x1A84)
    Looking for exit code 17002 in exit codes table... AppEnforce 6/1/2016 12:44:17 PM 6788 (0x1A84)
    Unmatched exit code (17002) is considered an execution failure. AppEnforce 6/1/2016 12:44:17 PM 6788 (0x1A84)
++++++ App enforcement completed (16 seconds) for App DT "Install - Microsoft Office 365 ProPlus (32 bit)-(En-Ar)" [ScopeId_18EB0783-06E8-4203-81E3-0D3DDB4FD960/DeploymentType_54e601c3-8213-40bf-880a-73aaf0083c91], Revision: 4, User SID: ] ++++++ AppEnforce 6/1/2016 12:44:17 PM 6788 (0x1A84)

All replies (2)

Thursday, June 2, 2016 6:04 AM ✅Answered

Hi,

You should examine the logfile of the installer to get an idea why the installation failed. Try to configure the "Logging" element in the configuration.xml, then try the installation again:

https://technet.microsoft.com/en-us/library/jj219426.aspx#BKMK_LoggingElement

Also, I noticed that you didn't specify the value of "SourcePath" attribute in your .xml file. If the Office source files aren’t found in the current folder, setup will look on Office 365 server for them. In this case, the installation will fail if any connection to the Office 365 server is blocked (probably by a security software).

So try to download the source files to the local disk with download mode, then try it again.

Regards,

Ethan Hua

Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]


Thursday, June 2, 2016 4:47 AM

Any idea ?