Write-Error "MSOL isn't compatible with PowerShell 7+. Try again with PowerShell 5" # first, use Global Admin account to delete federation $Credential = New-Object ...
Reset-AzLabServicesVMPassword -ResourceId /subscriptions/e0df76a5-ad98-482e-adad-a4b41e453333/resourceGroups/AZLabs-Sage-Preview/providers/Microsoft.LabServices/labs ...