Error when accessing value of resource

Hello everybody,

a while I posted on the Azure provider page over at GitHub about an issue when accessing a value from a resource, specifically the registration_info token from the virtual_desktop_host_pool resource.

The problem is that the first apply runs fine, but running it again shows an error message that the value cannot be determined or is null, which was not the case a couple minutes ago when the first apply was runing.

Is someone else also using this resource inside the azure provider and running into this problem?

Index Error when Azure Virtual Desktop Registration Token time has exceeded · Issue #14330 · hashicorp/terraform-provider-azurerm (