Hi All,
I'm trying to provision a Unified Development Environment (UDE) for Dynamics 365 Finance using the official Microsoft PowerShell-based approach, as demonstrated in the Microsoft videos.
1.I successfully ran the first 3 commands but failed while running the final command(which is 4th in below).
1. Import-Module Microsoft.PowerApps.Administration.PowerShell
2.Add-PowerAppsAccount -Endpoint prod
3. $jsonObject = @"
{
"PostProvisioningPackages": [
{
"applicationUniqueName": "msdyn_FinanceAndOperationsProvisioningAppAnchor",
"parameters": "DevToolsEnabled=true|DemoDataEnabled=true"
}
]
}
"@ | ConvertFrom-Json
4.New-AdminPowerAppEnvironment -DisplayName "UnifiedDevEnvironment1" -EnvironmentSku Sandbox -Templates "D365_FinOps_Finance" -TemplateMetadata $jsonObject -LocationName "Asia" -ProvisionDatabase
Getting error like below..
Code : 500
Description : Internal Server Error
Headers : {Strict-Transport-Security, x-ms-islandgateway, mise-correlation-id, x-ms-request-id...}
Error :
Errors :
Internal : @{StatusCode=500; StatusDescription=Internal Server Error; Headers=Strict-Transport-Security: max-age=31536000; includeSubDomains
x-ms-islandgateway: _prdcm001singb0_4
mise-correlation-id: 76b176d8-2dfe-460a-a7fa-aea78312143c
x-ms-request-id: southindia:10f33e76-5fe8-450c-b5db-f38b629fe2be
x-ms-correlation-request-id: 2445c21a-6f5f-45cb-8304-fe5837e9fb5a
x-ms-correlation-id: 2445c21a-6f5f-45cb-8304-fe5837e9fb5a
Server-Timing: x-ms-igw-upstream-headers;dur=23.9,x-ms-igw-req-overhead;dur=0.5
X-Content-Type-Options: nosniff
x-ms-service-request-id: 3e6c9d9a-8faa-4013-872e-f7681ffd2b56
x-ms-activity-vector: 00
Content-Length: 4
Cache-Control: no-cache, no-store
Content-Type: application/json; charset=utf-8
Date: Thu, 03 Jul 2025 12:10:31 GMT
; Error=; Message=; Internal=System.Net.HttpWebResponse}
please guide me what makes this go wrong , Thanks in Advance.