Fixes to Azure PowerShell MSI