Portal Drain Mode Switch Does Opposite of what it says

Aaron Dilworth 1 Reputation point
2020-10-29T03:39:44.487+00:00

Hey Everyone,

Just wondering if anyone has the same experience or knows why the Drain Mode Switch in the Session Host Blade does the opposite of what it says?
I mean that in the sense of when I have it set to "On (does not allow new connections)" I am unable to connect. However if you go to the Host Pool Blade, Drain mode says "Off" and Powershell says "AllowNewSession : True"
35921-image.png

35829-image.png

35860-image.png

If I then flick the Switch to "Off (Allows new connections)" I find that the Host Pool says "On" and Powershell says "AllowNewSessions : False"
Can also see the same thing when you set it to $True or $False via PS, the Session Host Blade says the opposite

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,806 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,296 Reputation points
    2020-10-30T06:11:39.907+00:00

    @AaronDilworth-9838

    I would to inform you that a fix is rolled out for this bug.
    Please check now, the Drain mode switch should work as expected now.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.


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.