Azure pipelines - agent ip changed during single job

Szymon 0 Reputation points


I have following (simplified) steps in pipeline:

  1. Read agent IP;
  2. Add agent ip to azure cosmosdb firewall;
  3. Run tests which read data from cosmosdb.

Today, second time this week (previously this happened on monday, and I have not seen such scenario for like 1 year) I received error that in step 3 IP from which request to azure comosdb was orignated is different than ip read in step 1. All above steps are under same job (so same agent is used). How it is possible that agent changed its ip during single agent runtime? I think that should be reported to MS but first wanted to know if anyone else thinks/knows otherwise.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,368 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaktiSingh-MSFT 12,541 Reputation points Microsoft Employee

    Hi Adeel Qayyum •,

    The query posted by you seems to have issue in Azure DevOps which is not supported in the Q&A forum. I would request you post your query in the Azure DevOps forum

    This will assist you with a faster reply to your query.

    Hope this helps. If the issue lies in Azure Cosmos DB, then I can help you with support ticket.



    0 comments No comments