Hi, @Piar Pall
Thank you for posting in Microsoft Q&A forum.
To fix the SCCM Automatic deployment rule failed with error code 0X87D20417, try the below mentioned steps.
- Try recreating the automatic deployment rule again. Deleting the existing ADR and creating a new one works most of the times.
- Automatic Deployment Rules don't work when you use specific proxy authentication on a site server.
- Ensure you have provided the correct path to download the updates.
- Open the ruleengine.log in ConfigMgr trace tool and look for errors. Purge all files in the windows temp folder c:\windows\temp. Run the failed ADR again.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".