updated to reflect changes in new azure powershell