Forum Discussion
Cláudio Rodrigues
May 14, 2020Copper Contributor
Spring 2020 Update - Registration Keys in Host pools
Another issue to the list. If trying to add a session host to the host pool, it throws a warning saying there are no registration keys. If you then try to create one, it says it succeeded but the key...
patrickkoehler
May 15, 2020Brass Contributor
I´ve experienced the same! As a work around here is my tip for you to not be blocked:
1. Log into your Azure tenant via Admin credentials
Connect-AzAccount
2. Create the Registration Info and set expiration to 2 hours (you can adapt this to your needs also)
New-AzWvdRegistrationInfo -ResourceGroupName %RGyourHostPool% -HostPoolName %HostPoolName% -ExpirationTime $((get-date).ToUniversalTime().AddHours(2).ToString('yyyy-MM-ddTHH:mm:ss.fffffffZ'))}
3. Retreive the Registration Key
Get-AzWvdRegistrationInfo -ResourceGroupName %RGyourHostPool% -HostPoolName %HostPoolName%
This should unblock your issue!
Cheers,
Patrick