How often should I turn my VMs on to prevent registration issues?
应以什么频率启动 VM 以防止注册问题？
After you register a VM to a host pool within the Azure Virtual Desktop service, the agent regularly refreshes the VM's token whenever the VM is active. The certificate for the registration token is valid for 90 days. Because of this 90-day limit, we recommend VMs to be online for 20 minutes every 90 days so that the machine can refresh its tokens and update the agent and side-by-side stack components. Turning on your VM within this time limit prevents its registration token from expiring or becoming invalid. If you started your VM after 90 days and are experiencing registration issues, follow the instructions in the Azure Virtual Desktop agent troubleshooting guide to remove the VM from the host pool, reinstall the agent, and reregister it to the pool.
将 VM 注册到 Azure 虚拟桌面服务中的主机池后，每当 VM 处于活动状态时，代理会定期刷新 VM 令牌。 注册令牌证书有效期为 90 天。 由于此 90 天的限制，我们建议 VM 每隔 90 天便联机 20 分钟，以便计算机可以刷新其令牌并更新代理和并行堆栈组件。 在此时间段内启动 VM 可防止注册令牌过期或无效。 如果在 90 天后启动 VM 并遇到了注册问题，请按照 Azure 虚拟桌面代理故障排除指南中的说明从主机池中删除 VM，重新安装代理，然后将其重新注册到池中。