@Mayur Master There is a similar issue discussion in the GitHub Forum, please refer to the suggestion mentioned here. If the issue still persist, I would like to work closer on this matter. Looking forward for your reply.
As mentioned in the error have tried the troubleshooting steps: https://video2.skills-academy.com/en-us/azure/virtual-machines/extensions/features-windows#troubleshoot-vm-extensions
Additional information: https://video2.skills-academy.com/ko-kr/azure/active-directory-domain-services/join-windows-vm
https://video2.skills-academy.com/ko-kr/azure/virtual-desktop/create-host-pools-azure-marketplace
- Also check credentils providing for joining VM to the domain is correct?
- Session host virtual machine configuration
- Check the Domain name
- Open the Azure Portal and go to the Virtual networks blade.-> Find your VNET, then select DNS servers.->The DNS servers menu should appear on the right side of your screen. On that menu, select Custom.-> Make sure the DNS servers listed under Custom match your domain controller or Active Directory domain. If you don't see your DNS server, you can add it by entering its value into the Add DNS server field.
Hope this helps!
Kindly let us know if the above helps or you need further assistance on this issue.
------------------------------------------------------------------------------------------------------------------------------
Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.