Hi,
when trying to use New-AdminPowerAppEnvironment, I am getting an error:
New-AdminPowerAppEnvironment -DisplayName AutomatedTest -EnvironmentSku Trial -LocationName canada
Code : BadRequest
Description : Bad Request
Error :
Errors :
Internal : System.Net.HttpWebResponse
The same error happens with or without a call to Add-PowerAppsAccount:
$pass = ConvertTo-SecureString "<PASSWORD HERE>" -AsPlainText -Force
Add-PowerAppsAccount -Username <USER HERE> -Password $pass
Other cmdlets seem to be working. For example, I can use Get-AdminPowerAppEnvironmentLocations without any problems.
Thanks,
Alex