GetTaskState failed with error code 0x87d00317

Boopathi S 3,806 Reputation points
2024-03-08T14:27:15.3+00:00

Hello, There is a task sequence which is failed 3 times. I rerun the task sequence using SCCM client center and getting below message IMaintenanceCoordinator::GetTaskState failed with error code 0x87d00317 Failed to get MTC task state - 87d00317 MTC

Plesae let me know what could be the problem

Microsoft Security Intune Configuration Manager Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. glebgreenspan 2,245 Reputation points
    2024-03-08T15:39:40.95+00:00

    Hello Boopathi

    The error code 0x87d00317 typically indicates that the Maintenance Coordinator is unable to retrieve the task sequence information. This can happen for a variety of reasons, such as communication issues between the client and the SCCM server, permissions problems, or a corrupt task sequence.

    Here are a few steps you can try to troubleshoot this issue:

    1.     Verify Client Communication: Ensure that the client machine can communicate with the SCCM server. Check the client's connectivity, firewall settings, and any network issues that could be preventing communication.

    2.     Check Client Permissions: Ensure that the client machine has the necessary permissions to retrieve the task sequence information from the SCCM server. Make sure the client is properly enrolled and has the correct permissions in SCCM.

    3.     Check Task Sequence Integrity: Verify that the task sequence is not corrupt or missing any necessary components. Review the task sequence in the SCCM console to ensure all steps and dependencies are properly configured.

    4.     Clear Client Cache: Sometimes clearing the client cache can help resolve communication issues between the client and the SCCM server. You can do this by stopping the SMS Agent Host (CCMExec) service on the client machine, deleting the contents of the CCM cache folder, and then restarting the service.

    5.     Check SCCM Logs: Review the SCCM client logs on the client machine (e.g., CCMExec.log, execmgr.log) and the SCCM server logs (e.g., distmgr.log, dataldr.log) for any additional error messages or information that could help diagnose the issue.

    0 comments No comments

  2. Simon Ren-MSFT 40,341 Reputation points Microsoft External Staff
    2024-03-11T02:39:37.4033333+00:00

    Hi,

    Thank you for posting in Microsoft Q&A forum.

    You can try to restart "SMS Agent Host" Service on the client to have a try. Similar thread for your reference:

    Task sequence not executing on server

    Thanks for your time. Have a nice day!

    Best regards,

    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Simon Ren-MSFT 40,341 Reputation points Microsoft External Staff
    2024-03-21T02:42:28.5033333+00:00

    Hi,

    Hope everything goes well. We haven't heard from you for a few days and would like to know the current status of the problem. If there is any chance to try above suggestions? If there is any other assistance we can provide, please feel free to let us know, we will do our best to help you.

    Thanks for your time.

    Best regards,

    Simon

    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.