Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.
Can you try to perform a restart using Powershell command see if that works- Restart-AzVmss -ResourceGroupName "Group001" -VMScaleSetName "VMSS001";
Restart a specific virtual machine within the VMSS- Restart-AzVmss -ResourceGroupName "Group004" -VMScaleSetName "VMSS001" -InstanceId "1"
Please let me know if restarting PowerShell resolves the issue for you. If it works, do please accept this as an acknowledgment of appreciation.