Share via

Workload Identity IPs for whitelisting external IDP

Lehmann, Carlos-MGB 20 Reputation points
2026-02-25T21:35:30.61+00:00

Hello :-)

I'd like to use Azure Workload Identity in conjunction with our self-hosted Gitlab instance but I can't find any information what I supposed to whitelist. Apparently here are all IPs available that I would need to expose but I wouldn't know which ones are specific for Workload Identity? If anyone has a pointer to anything that would be awesome!

Thanks,
Carlos

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Answer accepted by question author
  1. VEMULA SRISAI 9,265 Reputation points Microsoft External Staff Moderator
    2026-02-25T21:56:28.8233333+00:00

    Hello Lehmann, Carlos-MGB ,

    Azure Workload Identity does not have a dedicated or separate set of IP addresses that can be whitelisted. The token issuance and federation flow uses the same Microsoft Entra ID (Azure AD) authentication endpoints as other OIDC/SAML-based sign-ins.

    If your self‑hosted GitLab instance requires IP-based allowlisting, the supported approach is to whitelist the AzureActiveDirectory service tag. This service tag represents the full set of outbound IP ranges used by Microsoft Entra ID for authentication and token issuance, including workload identity federation.

    There is no supported way to narrow this down further to “workload identity only” IPs. Microsoft recommends:

    • Using the AzureActiveDirectory service tag
    • Keeping the IP list updated (weekly) via the Service Tags JSON or Service Tag Discovery API

    If strict IP allowlisting is not feasible, the preferred alternative is to rely on OIDC trust + certificate/issuer validation rather than IP-based filtering.

    Hope this helps clarify the expected configuration.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.