From a650d99a7f8a1388b3c6d860871f9b9e96692bc8 Mon Sep 17 00:00:00 2001 From: Pradeep Srikakolapu Date: Mon, 25 Nov 2024 22:59:40 -0800 Subject: [PATCH] Testing OIDC --- .github/workflows/integration-tests-azure.yml | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/.github/workflows/integration-tests-azure.yml b/.github/workflows/integration-tests-azure.yml index 071cf30..dfad12d 100644 --- a/.github/workflows/integration-tests-azure.yml +++ b/.github/workflows/integration-tests-azure.yml @@ -33,7 +33,7 @@ jobs: allow-no-subscriptions: true federated-token: true - - name: Connect to Fabric Warehouse to Retrieve Token + - name: Test Connection To Fabric Data Warehouse id: fetch_token run: | pip install azure-identity pyodbc azure-core @@ -47,26 +47,7 @@ jobs: try: credential = DefaultAzureCredential() token = credential.get_token("https://database.windows.net/.default") - - connection_string = ( - "Driver={ODBC Driver 18 for SQL Server};" - "Server=x6eps4xrq2xudenlfv6naeo3i4-6xw4uystlgdevluyqmndlcagwe.msit-datawarehouse.fabric.microsoft.com;" - "Database=permissionstest;" - ) print(f"::set-output name=access_token::{token.token}") - access_token_utf16 = token.token.encode('utf-16-le') - token_struct = struct.pack(f'