Share via

ADO IP Whitelisting

Imran Bashir 20 Reputation points
2025-09-02T09:49:18.4733333+00:00

My question is specifically about the IPs we need to whitelist so that our self-hosted agents can communicate with Azure DevOps. According to Microsoft documentation, the following IPs need to be whitelisted. From my understanding, these are the ADO IP addresses that the self-hosted agents connect to

13.107.6.0/24

13.107.9.0/24

13.107.42.0/24

13.107.43.0/24

150.171.22.0/24

150.171.23.0/24

150.171.73.0/24

150.171.74.0/24

150.171.75.0/24

150.171.76.0/24

Source: https://learn.microsoft.com/en-us/azure/devops/organizations/security/allow-list-ip-url?view=azure-devops&tabs=IP-V4&utm_source=chatgpt.com

Azure DevOps
0 comments No comments

Answer accepted by question author

  1. Anurag Rohikar 3,190 Reputation points Microsoft External Staff Moderator
    2025-09-02T10:32:42.2666667+00:00

    Hello Imran Bashir, Thanks for reaching out on Microsoft Q&A!

    Yes, you are right.
    When using self-hosted Azure DevOps agents, the agents communicate outbound to Azure DevOps services. To ensure proper connectivity through firewalls or network security devices, you need to allow traffic to the Azure DevOps service IPs or domains.

    • IP Addresses to Whitelist

    Based on Microsoft’s documentation, the commonly used IP ranges for Azure DevOps services are:

    13.107.6.0/24  
    13.107.9.0/24  
    13.107.42.0/24  
    13.107.43.0/24  
    150.171.22.0/24  
    150.171.23.0/24  
    150.171.73.0/24  
    150.171.74.0/24  
    150.171.75.0/24  
    150.171.76.0/24  
    

    These ranges cover the endpoints your self-hosted agents will connect to when pulling jobs, uploading artifacts, and reporting results.

    Reference: Allowlist IP addresses and URLs for Azure DevOps

    1. Recommended Best Practices
    • Use Service Tags: Instead of hardcoding IPs, Microsoft recommends using the AzureDevOps service tag from the Azure Public IP JSON. This ensures your firewall rules automatically cover updated IPs. Download the JSON here: Allowlist IP addresses and URLs for Azure DevOps
    • Allow FQDNs (if supported): Firewalls that support DNS rules can allow:
    *.dev.azure.com
    *.visualstudio.com
    

    Direction of Traffic:

    Outbound from agents → Required. Agents initiate connections.

    Inbound to agents → Usually not required unless exposing agents externally (not recommended).

    References:

    I hope this helps! Please let us know if you have further questions. Thank you!

    2 people found this answer helpful.
    0 comments No comments

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.