Skip to content

Commit 50d35b0

Browse files
authored
Merge branch 'main' into issue-766
2 parents b93bac7 + 1253eca commit 50d35b0

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

workload/portal-ui/portal-ui-baseline.json

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,6 @@
1717
"path": "subscriptions?api-version=2022-01-01"
1818
}
1919
},
20-
{
21-
"name": "avdServicePrincipal",
22-
"type": "Microsoft.Solutions.GraphApiControl",
23-
"condition": "[not(empty(steps('basics').resourceScope.subscription))]",
24-
"request": {
25-
"method": "GET",
26-
"path": "/v1.0/serviceprincipals?$filter=appId eq '9cdead84-a844-4324-93f2-b2e6bb768d07'"
27-
}
28-
},
29-
{
30-
"name": "avdArmServicePrincipal",
31-
"type": "Microsoft.Solutions.GraphApiControl",
32-
"condition": "[not(empty(steps('basics').resourceScope.subscription))]",
33-
"request": {
34-
"method": "GET",
35-
"path": "/v1.0/servicePrincipals?$filter=appId eq '50e95039-b200-4007-bc97-8d5790743a63'"
36-
}
37-
},
3820
{
3921
"name": "infoPreReq",
4022
"type": "Microsoft.Common.InfoBox",
@@ -649,7 +631,7 @@
649631
{
650632
"name": "servicePrincipalSelector",
651633
"type": "Microsoft.Common.Selector",
652-
"visible": "[and(empty(first(steps('basics').avdServicePrincipal.value)), or(steps('managementPlane').managementPlaneHostPoolScaling.startVmOnConnect, steps('managementPlane').managementPlaneHostPoolScaling.scalingPlan))]",
634+
"visible": "[or(steps('managementPlane').managementPlaneHostPoolScaling.startVmOnConnect, steps('managementPlane').managementPlaneHostPoolScaling.scalingPlan)]",
653635
"label": "<b>Azure/Windows Virtual Desktop</b> Enterprise Application",
654636
"keyPath": "displayName",
655637
"value": "[steps('managementPlane').managementPlaneHostPoolScaling.servicePrincipalPickerBlade.transformed.selection]",
@@ -1336,7 +1318,7 @@
13361318
"required": true
13371319
},
13381320
"link": "[if(empty(steps('storage').storageAppAttach.servicePrincipalPickerBlade), 'Select Enterprise Application', first(map(steps('storage').storageAppAttach.servicePrincipalPickerBlade.transformed.selection, (sp) => sp.displayName)))]",
1339-
"visible": "[and(equals(steps('identity').identityDomainInformation.identityServiceProvider, 'EntraID'), steps('storage').storageAppAttach.appAttachStorageDeployment, empty(first(steps('basics').avdServicePrincipal.value)), empty(steps('managementPlane').managementPlaneHostPoolScaling.servicePrincipalPickerBlade))]"
1321+
"visible": "[and(equals(steps('identity').identityDomainInformation.identityServiceProvider, 'EntraID'), steps('storage').storageAppAttach.appAttachStorageDeployment, empty(steps('managementPlane').managementPlaneHostPoolScaling.servicePrincipalPickerBlade))]"
13401322
},
13411323
{
13421324
"name": "armServicePrincipalPickerBlade",
@@ -1383,7 +1365,7 @@
13831365
"required": true
13841366
},
13851367
"link": "[if(empty(steps('storage').storageAppAttach.armServicePrincipalPickerBlade), 'Select Enterprise Application', first(map(steps('storage').storageAppAttach.armServicePrincipalPickerBlade.transformed.selection, (sp) => sp.displayName)))]",
1386-
"visible": "[and(equals(steps('identity').identityDomainInformation.identityServiceProvider, 'EntraID'), steps('storage').storageAppAttach.appAttachStorageDeployment, empty(first(steps('basics').avdArmServicePrincipal.value)))]"
1368+
"visible": "[and(equals(steps('identity').identityDomainInformation.identityServiceProvider, 'EntraID'), steps('storage').storageAppAttach.appAttachStorageDeployment)]"
13871369
}
13881370
]
13891371
}
@@ -2773,8 +2755,8 @@
27732755
},
27742756
"outputs": {
27752757
"parameters": {
2776-
"avdServicePrincipalObjectId": "[if(empty(first(steps('basics').avdServicePrincipal.value)), if(or(steps('managementPlane').managementPlaneHostPoolScaling.scalingPlan, steps('managementPlane').managementPlaneHostPoolScaling.startVmOnConnect), first(map(steps('managementPlane').managementPlaneHostPoolScaling.servicePrincipalPickerBlade.transformed.selection, (sp) => sp.id)), if(and(equals(steps('identity').identityDomainInformation.identityServiceProvider, 'EntraID'), steps('storage').storageAppAttach.appAttachStorageDeployment), first(map(steps('storage').storageAppAttach.servicePrincipalPickerBlade.transformed.selection, (sp) => sp.id)), '')), first(steps('basics').avdServicePrincipal.value.id))]",
2777-
"avdArmServicePrincipalObjectId": "[if(and(equals(steps('identity').identityDomainInformation.identityServiceProvider, 'EntraID'), steps('storage').storageAppAttach.appAttachStorageDeployment), if(empty(first(steps('basics').avdArmServicePrincipal.value)), first(map(steps('storage').storageAppAttach.armServicePrincipalPickerBlade.transformed.selection, (sp) => sp.id)), first(steps('basics').avdArmServicePrincipal.value.id)), '')]",
2758+
"avdServicePrincipalObjectId": "[if(or(steps('managementPlane').managementPlaneHostPoolScaling.scalingPlan, steps('managementPlane').managementPlaneHostPoolScaling.startVmOnConnect), first(map(steps('managementPlane').managementPlaneHostPoolScaling.servicePrincipalPickerBlade.transformed.selection, (sp) => sp.id)), if(and(equals(steps('identity').identityDomainInformation.identityServiceProvider, 'EntraID'), steps('storage').storageAppAttach.appAttachStorageDeployment), first(map(steps('storage').storageAppAttach.servicePrincipalPickerBlade.transformed.selection, (sp) => sp.id)), ''))]",
2759+
"avdArmServicePrincipalObjectId": "[if(and(equals(steps('identity').identityDomainInformation.identityServiceProvider, 'EntraID'), steps('storage').storageAppAttach.appAttachStorageDeployment), first(map(steps('storage').storageAppAttach.armServicePrincipalPickerBlade.transformed.selection, (sp) => sp.id)), '')]",
27782760
"deploymentPrefix": "[steps('basics').deploymentSpecs.deploymentPrefix]",
27792761
"deploymentEnvironment": "[steps('basics').deploymentSpecs.deploymentEnvironment]",
27802762
"diskZeroTrust": "[steps('sessionHosts').sessionHostsSettingsSection.sessionHostDiskZeroTrust]",

0 commit comments

Comments
 (0)