Configuring and Operating Microsoft Azure Virtual Desktop - Removing a Host Pool: Best Practices

Removing a Host Pool: Best Practices

Question

You need to remove a host pool that is no longer in use.

But when you attempt to delete it, it fails with an error.

Which of the following actions do you need to perform first before deleting a host pool?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: B

All the host pools created in AVD are attached to app groups and session hosts.

You need to delete app groups associated with the host pool before deleting the host pool.

Option A is incorrect.

Deleting RBAC roles associated with the host pool is not the necessary step.

Option B is correct.

You need to delete app groups associated with the host pool before deleting the host pool.

Option C is incorrect.

It is a good practice to put the session hosts in drain mode and wait for the users on the host pool to log off, but it is not a necessary step.

Option D is incorrect.

Decreasing the Max session limit is the incorrect option.

To know more about how to delete a host pool, please visit the below-given link:

When attempting to delete a host pool in Azure Virtual Desktop, there are certain actions that need to be taken first to ensure that the deletion process is successful. One common reason for a failed deletion is that there are dependencies on the host pool that need to be removed before the deletion can occur.

Out of the four options listed, the most likely action that needs to be performed before deleting a host pool is to remove the app groups associated with the host pool. App groups are collections of RemoteApp programs and desktops that are available to users when they sign in to a host pool. If there are still active app groups associated with the host pool, it will not be possible to delete it.

Therefore, the correct answer to this question is option B: Remove the app groups associated with the host pool.

Option A, Delete RBAC roles associated with the host pool, refers to the removal of role-based access control (RBAC) roles associated with the host pool. While it is important to remove RBAC roles from the host pool when they are no longer needed, this action is not required before deleting the host pool.

Option C, Enable drain mode on all session hosts in the host pool, refers to a process where existing user sessions are allowed to finish before the host pool is shut down. While enabling drain mode can help ensure that users do not lose their work, it is not required before deleting the host pool.

Option D, Decrease the Max session limit, refers to a process where the maximum number of sessions allowed on a host pool is reduced. While this can be a helpful step before deleting the host pool, it is not required for the deletion to occur.