sccm Task sequence failed while installing the office 365 package

Richa Kumari 286 Reputation points
2024-07-30T05:10:23.64+00:00

Hello,

The sccm task sequence failed for deploying office package on cloud PC Suddenly ,It was working properly previously .
smsts.log on cloud pc .
FALSE, HRESULT=80004005 (K:\dbs\sh\cmgm\1026_005344\cmd\1b\src\client\OsDeployment\InstallSoftware\installsoftware.cpp,264) InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

Failed to invoke Execution Manager to Install Software for PackageID='NC10049E' ProgramID='_US_EAST' AdvertID='NC120D40' hr=0x80004005 InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

InstallSoftware failed, hr=0x80004005 InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

0, HRESULT=80004005 (K:\dbs\sh\cmgm\1026_005344\cmd\1b\src\client\OsDeployment\InstallSoftware\installsoftware.cpp,789) InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

ReleaseSource() for C:_SMSTaskSequence\Packages\NC10049E. InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

reference count 1 for the source C:_SMSTaskSequence\Packages\NC10049E before releasing InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

Released the resolved source C:_SMSTaskSequence\Packages\NC10049E InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

pInstall->Install(sPackageID, sProgramName), HRESULT=80004005 (K:\dbs\sh\cmgm\1026_005344\cmd\1b\src\client\OsDeployment\InstallSoftware\main.cpp,383) InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

Install Software failed, hr=0x80004005 InstallSoftware 7/29/2024 8:13:31 AM 7468 (0x1D2C)

Process completed with exit code 2147500037 TSManager 7/29/2024 8:13:31 AM 6852 (0x1AC4)

Failed to run the action: Office 365 64Bit US East. Error -2147467259 TSManager 7/29/2024 8:13:31 AM 6852 (0x1AC4)

Not in SSL. TSManager 7/29/2024 8:13:31 AM 6852 (0x1AC4)

Set a global environment variable _SMSTSLastActionRetCode=-2147467259 TSManager 7/29/2024 8:13:31 AM 6852 (0x1AC4)

Set a global environment variable _SMSTSLastActionName=Office 365 64Bit US East TSManager 7/29/2024 8:13:31 AM 6852 (0x1AC4)

Set a global environment variable _SMSTSLastActionSucceeded=false TSManager 7/29/2024 8:13:31 AM 6852 (0x1AC4)

Clear local default environment TSManager 7/29/2024 8:13:31 AM 6852 (0x1AC4)

The execution engine ignored the failure of the action (Office 365 64Bit US East) and continues execution TSManager 7/29/2024 8:13:31 AM 6852 (0x1AC4)

how to solve and reason for this.

Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,145 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
486 questions
Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. glebgreenspan 2,230 Reputation points
    2024-07-30T12:58:29.9666667+00:00

    Hello Richa

    The error messages in the SMSTS.log file indicate that the task sequence failed during the installation of the Office 365 package. The HRESULT 80004005 is a general error code that can signal various issues. Here are some potential causes of the problem and steps you can take to resolve it:

    Potential Causes and Fixes

    1. Network Issues:
      • Lost Connection: Check if there were any network issues that could have interrupted the install process. The cloud PC should have a stable and sufficient bandwidth connection to the SCCM server.
        • Firewall or Proxy: Ensure that any firewall or proxy settings are not blocking traffic to the SCCM distribution point.
        1. Package Integrity:
          • Corrupted Package: The package ID 'NC10049E' associated with the Office deployment may be corrupt or incomplete. Verify the integrity of the package by checking if it has been modified or deleted on the SCCM server.
            • Re-distribute Package: Try redistributing the Office package to the distribution points and ensure it is successfully delivered to the intended cloud PC.
            1. Program Configuration:
              • Program Error: Verify the program configuration for the Office 365 package (ProgramID = '_US_EAST'). Check if it points to the correct command line, source files, and other settings.
                • Re-create the Deployment: If the package previously worked, consider recreating the deployment. Sometimes, broken configurations can lead to issues.
                1. Log Data Review:
                  • Detailed Logs: Review additional logs such as AppEnforce.log, smspxe.log, and execmgr.log for more detailed information that might pinpoint specific errors during the installation.
                    • Return Codes: Understand any return codes that other associated logs provide that might give more context about the failure.
                    1. Environment Variables:
                      • The logs show that global environment variables are set, specifically _SMSTSLastActionRetCode and _SMSTSLastActionSucceeded. Reviewing the behavior of the task sequence might provide insights on failure at this specific action.
                      1. Execution Manager Issues:
                        • If there are issues with how the Execution Manager invokes the installation, it may be helpful to ensure that there are no permission issues on the execution context under which the SCCM task sequence runs.
                        1. Clear the Cache:
                          • If any previous installations partially completed but failed, it might lead to conflicts. Clearing the SCCM cache on the cloud PC can help. You can do this via:
                          1. System Updates:
                            • Ensure that the cloud PC has all necessary Windows updates applied prior to performing the task sequence. Sometimes lack of updates can cause installation failures.
                            1. Review Dependencies:
                              • Check if there are any dependencies or prerequisite software needed for Office 365 that may not be present on the cloud PC. Make sure everything required is installed before running the deployment.
                              1. Reboot Requirement:
                                • Sometimes, pending reboots from previous updates can cause installations to fail. Ensure that the PC does not require a reboot.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.