Welcome to Microsoft Q&A! Thanks for posting the question.
The following questions should help narrow down the cause of these failures:
1. Are there specific errors that you observe for these set of servers where the installation fails?
2. Do these servers have something in common (restrictions placed, network connectivity, firewall or from security standpoint).
3. On these servers, does the manual installation fail too? ref: Install Log Analytics agent on Linux computers
You may use the Log Analytics Agent Linux Troubleshooting Tool to help investigate and resolve this issue.
Please let me know if you have any questions.
---
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.