when trying to use New-AdminPowerAppEnvironment, I am getting an error:
New-AdminPowerAppEnvironment -DisplayName AutomatedTest -EnvironmentSku Trial -LocationName canada
Code : BadRequestDescription : Bad RequestError :Errors :Internal : System.Net.HttpWebResponse
The same error happens with or without a call to Add-PowerAppsAccount:
$pass = ConvertTo-SecureString "<PASSWORD HERE>" -AsPlainText -ForceAdd-PowerAppsAccount -Username <USER HERE> -Password $pass
Other cmdlets seem to be working. For example, I can use Get-AdminPowerAppEnvironmentLocations without any problems.
Go to Solution.
Are you working with a Trial license? Although the Trial license is a P2 license you can't create additional environments if you are using a Trial account.
View solution in original post
Yes, figured it out at some point.. turned out we can use -Verbose switch now to get those additional error details... will mark the answer
Check it out!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
The largest Power BI, Power Platform, and Data conference in New Zealand