Skip to content

Commit 4d251cf

Browse files
committed
add UDE environment type
1 parent b091187 commit 4d251cf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

d365fo.tools/internal/scripts/enums.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
AzureHostedTier1
55
MSHostedTier1
66
MSHostedTier2
7+
UnifiedDevelopmentEnvironment
78
}
89

910
enum ServerRole {

d365fo.tools/internal/scripts/variables.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ elseif ($infrastructure.HostName -like "*sandbox.ax.dynamics.com*") {
8787
elseif ($infrastructure.HostName -like "*sandbox.operations.*dynamics.com*") {
8888
$Script:EnvironmentType = [EnvironmentType]::MSHostedTier2
8989
}
90+
elseif ($environment.Infrastructure.HostName -eq "UnifiedDevelopmentEnvironment") {
91+
$Script:EnvironmentType = [EnvironmentType]::UnifiedDevelopmentEnvironment
92+
}
9093
$Script:Url = $infrastructure.HostUrl
9194

9295
$Script:Company = "DAT"

0 commit comments

Comments
 (0)