Delay in Remediation Script Response in Intune’s Proactive Remediation

Swahela Mulla 95 Reputation points
2024-04-02T05:57:33.4033333+00:00

Hello Everyone,

I’ve been using the Proactive Remediation feature in Intune, which involves providing detection and remediation scripts. I’ve noticed that while the detection response is received within 5-6 minutes, the remediation script response often takes between 6-7 hours, or even a full day. Is anyone else experiencing this issue? If so, do you have any suggestions or workarounds to improve the response time of the remediation scripts? Any input would be greatly appreciated.

 

Thank you.

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,081 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,526 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 48,756 Reputation points Microsoft Vendor
    2024-04-03T02:27:15.34+00:00

    @Swahela Mulla, Thanks for posting in Q&A. The delay in response time for remediation scripts in Intune's Proactive Remediation feature could be due to a number of factors, such as network connectivity issues or the complexity of the remediation script itself. However, it's worth noting that the client retrieves policy for remediation scripts once every 8 hours, and recurring scripts follow a 7-day reporting cycle. Within the first 6 days, the client reports only if a change occurs, and every 7 days the client sends a report even if there wasn't a change.

    https://learn.microsoft.com/en-us/mem/intune/fundamentals/remediations#client-policy-retrieval-and-client-reporting

    You can look into the IME log under C:\ProgramData\Microsoft\IntuneManagementExtension\Logs. to see where it takes long time. If it takes long time when receive the remediation script, you can restart the Intune management extension service to see if this can be improved. If it takes long time when running the script, you can improve the script to decrease the time. However, if the delay in response time is due to the reporting cycle rather than the remediation script itself, there isn't much that can be done to improve the response time of the remediation scripts,

    Thanks for your understanding.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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

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.