Is this bug related to Code Apps?
No
Description
This occurs across multiple environments within the same tenant.
The issue appears to be related to tenants using the new Macro Region Geography provisioning model, where the backend expects a macro-region value rather than the legacy unitedstates region identifier.
pac admin reset --environment https://Example.crm.dynamics.com/
--domain Example --name Example Environment
--purpose This is an example environment configuration.
pac admin create --type 'sandbox'
--domain Example `
--name Example Environment
Error: macroRegion 'unitedstates' is not valid
Extension Version
2.11.2.0
VS Code Version
1.136.1
VS Code Channel
Stable
Steps to Reproduce
- Open Visual Studio Code
- In terminal enter pac admin reset --environment https://Example.crm.dynamics.com/ --domain Example --name Example Environment --purpose This is an example environment configuration.
or pac admin create --type 'sandbox' --domain Example --name Example Environment
Expected Behavior
Environment is reset or created
Actual Behavior
Error: macroRegion 'unitedstates' is not valid
Additional Context
This is new in the last week or two.
Is this bug related to Code Apps?
No
Description
This occurs across multiple environments within the same tenant.
The issue appears to be related to tenants using the new Macro Region Geography provisioning model, where the backend expects a macro-region value rather than the legacy unitedstates region identifier.
pac admin reset
--environment https://Example.crm.dynamics.com/--domain Example
--name Example Environment--purpose This is an example environment configuration.
pac admin create
--type 'sandbox'--domain Example `
--name Example Environment
Error: macroRegion 'unitedstates' is not valid
Extension Version
2.11.2.0
VS Code Version
1.136.1
VS Code Channel
Stable
Steps to Reproduce
or pac admin create --type 'sandbox' --domain Example --name Example Environment
Expected Behavior
Environment is reset or created
Actual Behavior
Error: macroRegion 'unitedstates' is not valid
Additional Context
This is new in the last week or two.