Skip to content

Commit 3b295f2

Browse files
authored
{AKS} Update AKS tests to allow enable AAD legacy when creating cluster (#27223)
1 parent 2cb10db commit 3b295f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/azure-cli/azure/cli/command_modules/acs/tests/latest/test_aks_commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2411,6 +2411,7 @@ def test_aks_create_aadv1_and_update_with_managed_aad(self, resource_group, reso
24112411
'--aad-server-app-secret fake-secret ' \
24122412
'--aad-client-app-id 00000000-0000-0000-0000-000000000002 ' \
24132413
'--aad-tenant-id d5b55040-0c14-48cc-a028-91457fc190d9 ' \
2414+
'--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AADv1AllowCreate ' \
24142415
'-o json'
24152416
self.cmd(create_cmd, checks=[
24162417
self.check('provisioningState', 'Succeeded'),
@@ -4820,6 +4821,7 @@ def test_aks_create_aadv1_and_update_with_managed_aad_msi(self, resource_group,
48204821
'--aad-server-app-secret fake-secret ' \
48214822
'--aad-client-app-id 00000000-0000-0000-0000-000000000002 ' \
48224823
'--aad-tenant-id d5b55040-0c14-48cc-a028-91457fc190d9 ' \
4824+
'--aks-custom-headers AKSHTTPCustomFeatures=Microsoft.ContainerService/AADv1AllowCreate ' \
48234825
'-o json'
48244826
self.cmd(create_cmd, checks=[
48254827
self.check('provisioningState', 'Succeeded'),

0 commit comments

Comments
 (0)