Hi @amomen-8749
According to MS document, Availability groups are not supported on domain controllers.
After you creating another VM for SQL AG, did the issue is still occurred?
By the way, suggest you reading the MS document Prerequisites, Restrictions, and Recommendations for Always On availability groups to help you avoiding many problems.
If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.