From 0f3357f229887fea4644305ef3a68080803fa91d Mon Sep 17 00:00:00 2001 From: Vinay Gera Date: Thu, 27 Jun 2024 11:09:27 -0700 Subject: [PATCH] update config (#40823) --- .../azure-ai-anomalydetector/test-resources.json | 10 ---------- sdk/anomalydetector/azure-ai-anomalydetector/tests.yml | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/sdk/anomalydetector/azure-ai-anomalydetector/test-resources.json b/sdk/anomalydetector/azure-ai-anomalydetector/test-resources.json index 842cfe0b1dd94..fa4e0cdc8ad50 100644 --- a/sdk/anomalydetector/azure-ai-anomalydetector/test-resources.json +++ b/sdk/anomalydetector/azure-ai-anomalydetector/test-resources.json @@ -41,12 +41,6 @@ "metadata": { "description": "The application client id used to run tests." } - }, - "testApplicationSecret": { - "type": "string", - "metadata": { - "description": "The application client secret used to run tests." - } } }, "variables": { @@ -87,10 +81,6 @@ "type": "string", "value": "[parameters('testApplicationId')]" }, - "AZURE_CLIENT_SECRET": { - "type": "string", - "value": "[parameters('testApplicationSecret')]" - }, "ANOMALY_DETECTOR_API_KEY": { "type": "string", "value": "[listKeys(resourceId('Microsoft.CognitiveServices/accounts',variables('uniqueSubDomainName')), '2017-04-18').key1]" diff --git a/sdk/anomalydetector/azure-ai-anomalydetector/tests.yml b/sdk/anomalydetector/azure-ai-anomalydetector/tests.yml index fe448ee40a2b9..2591b249ff123 100644 --- a/sdk/anomalydetector/azure-ai-anomalydetector/tests.yml +++ b/sdk/anomalydetector/azure-ai-anomalydetector/tests.yml @@ -3,6 +3,7 @@ trigger: none extends: template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml parameters: + UseFederatedAuth: true ServiceDirectory: anomalydetector Artifacts: - name: azure-ai-anomalydetector