Impossible to update host pool

Axel GLEIZES 20 Reputation points
2025-01-10T13:52:51.7566667+00:00

Hello,
I am using a Host Pool with the 'Session Host Configuration' feature, which allows me to update my session hosts easily using a new image template (still in Preview). I have successfully performed several updates to the session hosts until now. However, after a service account password change, I updated the password in my Key Vault. Since then, I can no longer update or add machines to my pool. It fails with the errors 'DomainJoinedCheck' and 'DomainTrustCheck' Failed.

For testing purposes, I created a new entry in my Key Vault with a different service account, but it did not resolve the issue. It seems that the 'Session Host Configuration' does not recognize the new entry in the Key Vault.

Additionally, I created a new pool using the new image and the same Key Vault, and the machines were able to join the domain successfully. This confirms that the issue lies with the original pool, which does not seem to update the password.

Have you encountered this issue before? I would like to avoid recreating a pool from scratch every time I need to update the service account password."
Regards,
Axel

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,639 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay kumar Mandha 1,880 Reputation points Microsoft Vendor
    2025-01-10T19:49:46.8466667+00:00

    Hi Axel GLEIZES,
    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here
    Based on your query,
    I understand your concern while creating new pool it is working fine for original might be issue with that update credentials not recognizing I guess could you please restart you session host and also clearing cache also helps you do sign out of the account using the Disconnect-AzAccount cmdlet in PowerShell. After that, clear any stored contexts and authentication tokens with the Clear-AzContext cmdlet. If there's a specific context you need to remove, use the Remove-AzContext cmdlet with the appropriate context name. Finally, restart your session hosts to ensure they pick up the new credentials.

    Also, mentioned in these blogs, some users have encountered the same issue and have shared troubleshooting steps. Please review them, as one of the inputs might help resolve your issue
    Azure AD joined and DomainJoinedCheck faild

    Try the above steps, and if the issue is still ongoing or not resolved, tag me in a comment. I am always here to help you as needed

    If you found information is helpful, please click an accepting the answerĀ and šŸ‘"Upvote" on my post for other community member's reference

    User's image

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.