Welcome to the Alteryx Knowledge Base

Designer 2024.2+: Google Workload Identity Federation for Google Cloud Storage / Google Big Query - Setup Guide
user

Created/Edited - 3/21/2026 by Michael Adler | Alteryx

How To

This article describes how to set up Workload Identity Federation (WIF) for Google Cloud Storage (GCS) / Google Big Query with Microsoft Entra ID as Identity Pool Provider.

 

To allow access to the Google Cloud for external applications, typically Service Account Keys are used. Storing those keys securely and maintaining them creates and additional security burden. Workload Identity Federation is the best practice that eliminates this concern by using identity federation to either give direct access to principals or by service account impersonation. 

Environment
  • Alteryx Designer or Server 2024.2+
Prerequisites

This setup requires coordination between the Microsoft Entra ID team (typically an Application Administrator or Cloud Application Administrator) and a Google Cloud IAM administrator with permissions to configure Workload Identity Pools and Service Account bindings.


In many organizations, these responsibilities are shared between the Identity and Cloud Platform teams.

Procedure

Overview of Authorization Flow for Workload Identity Federation with Entra ID as Identity Pool

Setup of external identity provider in Entra ID

Step 1 - Create a Microsoft Entra ID application (https://docs.microsoft.com/en-au/azure/active-directory/develop/howto-create-service-principal-portal#register-an-application-with-azure-ad-and-create-a-service-principal )

  1. Sign into Microsoft Entra admin center at least as Cloud Application Administrator
  2. Navigate to Entra ID > App Registrations and then select New registrationCreation of App Registration in Azure Portal.  
  3. Give the application a descriptive name. The name will be only used for internal identification.
  4. Choose single tenant under Supported account types. No redirect URI is needed as the non-interactive Client Credentials flow is used.
  5. Click Register. You have created the app registration. 
  6. Navigate to the app registration > Manage > Expose an API
  7. Click the Add button next to Application ID URI
  8. Click Save in the new window.
  9. Take a note of the the new URI. You will need it later as the audience value in Step 3. Additionally, when connection from Designer you will need this URI.

 

Create client secret and collect app registration details for later use

  1. Navigate to the app registration > Manage > Certificates & Secrets.
  2. Only client secrets are supported, but not certificates. Navigate to Client secrets and select New client secret. Store the new value.Create client secret for app registration 
  3. Go to Overview and note the following for later use:
    1. Application (client) ID - this will be the client ID,
    2. Directory (tenant) ID - this will be the tenant ID. 

Overview of app registrations

  1. Navigate to Endpoints
    1. Copy the OAuth 2.0 token endpoint (v2). Store for later usage.
    2. It should have the structure: https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token  

Endpoints of the app registration

 

 

 

 

Step 2 - Retrieve sub value

  1. Run the attached Postman collection to obtain an access token. You need to populate the fields for client id, client secret, tenant id, and scope. The scope for this Client Credentials OAuth 2.0 authorization flow will end with /.default.
  2. Copy the access token value obtained and inspect it in the Microsoft-operated https://jwt.ms/.
  3. Extract the value of the sub field and store it. This will be needed in Step 5 of the setup.

 

Setup of Identity Provider, Trust Relationship GCP - Entra ID and Service Account

Step 3 - Configure Workload Identity Federation in GCP – create identity provider and establish trust between GCP and Entra ID app registration

  1. Select the relevant Google Cloud Project in the Google Cloud Console. This is important as otherwise, the changes will be performed in the incorrect project.
  2. Enable the APIs as per the link https://console.cloud.google.com/flows/enableapi?apiid=iam.googleapis.com,cloudresourcemanager.googleapis.com,iamcredentials.googleapis.com,sts.googleapis.com&redirect=https://console.cloud.google.com
  3. Navigate to IAM & Admin > Workload Identity Federation. Select Add providerAdd WIF identity pool provider 
  4. Give the identity pool a name. Click continue. 

  1. Select the OpenID Connect provider and click continue.
  2. Give the provider a name and enter the Issuer URL. The format is: https://sts.windows.net/{azure_ad_tenant_id}. No JWK file is required for the setup as the issuer is publicly available.
  3. Select allowed audiences and use the value collected above as Application ID URI from Azure. Click next.

add provider to pool

  1. Configure the provider attributes, set google.subject to assertion.sub. Other values are optional. Click save to create the identity pool.  
  2. The identity provider has been created. Take note of the IAM principal. You will need it later.  

 

Step 4 - Configure Workload Identity Federation in GCP – create and configure new service account and assign required roles

  1. Navigate to IAM & Admin > Service Accounts. Select Create Service Account 
  2. Give the Service Account a name and optionally add a description. Select the required roles for the service account. This would be Google Big Query and Google Cloud Storage related in our example. Click continue.Name service account 
  3. Assign the Principal ID the Service Accounts Admin role. The value has been collected in the earlier Step 3 as IAM Principal. Click done to create the service account. Assign Principal ID of Service Account 

 

Step 5 - Link service account with the Workload Identity Pool

  1. Go to the workload identity pool created in step 3.
  2. Select Grant access 

Grant access to service account created before. 

  1. Choose grant access using service impersonisation. Select the service account created in the previous step.
  2. Select the principal subject. Use the sub value extracted in Step 2.

select principal subject

 

  1. Click save.
  2. In the new window select the provider and enter the application ID URI. This URI has been collected in Step 1 and is the Application ID URI value.
  3. Download the config file. It will be helpful for API testing.

 

Step 6 - Setup in Alteryx Designer, for Google Big Query Bulk 

  1. Draw an Output Data tool on the canvas. 
  2. Select Set Up a Connection and check Use Data Connection Manager (DCM)
  3. Choose Google Big Query > Bulk
  4. Click New
  5. Populate the data source details for the Google Project
  6. Under Credentials select Google Workload Identity Federation With Entra ID
  7. Give the credential a name.
  8. From Step 1, you obtain the values for the Entra ID tenant ID, client ID and client  secret. Paste them in their respective fields.
  9. The Audience value is the IAM Principal obtained in Step 3.
  10. For Service Account Email enter the value of the Service Account Email created in Step 4.
  11. The Entra ID scope is the Application ID URI from Step 1 with the additional /.default suffix. This is necessary as WIF uses the Client Credentials OAuth 2.0 authorization flow.

See below a Designer sample setup with synthetic values.

 

Additional Information
Attachments

GCP - Federated identity Azure AD service accounts.postman_collection.json

Was this article helpful?