Delete command failed with http error code: 400 trying to delete Host pool

adm_avega 1 Reputation point
2021-01-19T15:38:09.78+00:00

Trying to delete an old host pool in my subscription and I get error 400

Azure Dedicated Host
Azure Dedicated Host
An Azure service that provides a dedicated physical server to host Azure virtual machines for Windows and Linux.
48 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Amandeep Singh 11 Reputation points
    2021-07-31T15:18:38.15+00:00

    Delete in this order:

    Workspace
    Application groups
    Host Pools

    It will work..

    2 people found this answer helpful.
    0 comments No comments

  2. Monalla-MSFT 11,876 Reputation points
    2021-01-20T17:37:10.41+00:00

    Hello @adm_avega - Thanks for reaching out.

    You need to delete the session host before you delete the VM.

    Put the session host in drain mode, sign out all users from the session host, then delete the host.

    Try the above and see if that helps.

    Troubleshoot-set-up-issues

    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.

    0 comments No comments