Hi,
Thank you for reaching out regarding your SCOM 2022 deployment issue.
Please reference the link to troubleshoot the problem you’re encountering with deploying the agent using the Management Server Action Account.
How to configure and use Active Directory Integration for agent assignment