How to resolve error "A parameter cannot be found that matches the parameter name 'AsHashtable'"

Problem

When executing the PowerShell script that automatically prepares your Microsoft Azure subscription for use with Parallels DaaS, you see the following error:

ERROR: trying to set app registration Graph API permissions
A parameter cannot be found that matches parameter name 'AsHashtable'.

Solution

Run the PowerShell script in PowerShell version 7.3 or laer. You can check the PowerShell version by running the $psversiontable command.

A copy of PowerShell 7.x can be downloaded from https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.4#installing-the-msi-package

Last updated

Other Resources

Feedback

© 2024 Parallels International GmbH. All rights reserved.