Skip to content

6. Create the agent — and remove the Bing leak

Custom tools live on an agent, not on a bare model playground (the playground’s Add button is greyed out with the hint “some tools will require creating an agent”). So we create a real agent — and immediately find the thing controlled egress exists to remove.

When you create an agent, Foundry “helpfully” gives it the ability to search the web. Sounds convenient. But that web search runs through Bing as a separate consumer service — and the portal itself warns the data “will flow outside the Azure compliance boundary.” For a sensitive workload that’s a leak baked into the defaults. So the very first thing we do to a new agent is take the web search away.

  1. Build → Agents → Create agent.

    The Agents page — 'Create agent' boxed.
    The Agents page — 'Create agent' boxed.
  2. Name it controlled-egress-scraperCreate and open playground.

    Naming the agent (boxed).
    Naming the agent (boxed).
  3. The agent designer opens — Instructions, Tools, Knowledge, and a model.

    The fresh agent designer.
    The fresh agent designer.
The default agent already has 'Web search (Grounding with Bing)' attached — and warns: 'Customer data will flow outside the Azure compliance boundary.' That is exactly the uncontrolled egress we must remove.
The default agent already has 'Web search (Grounding with Bing)' attached — and warns: 'Customer data will flow outside the Azure compliance boundary.' That is exactly the uncontrolled egress we must remove.
  1. In Tools, on the Web search row, open the menu → Remove.

    Remove the Web search tool ('Remove' boxed).
    Remove the Web search tool ('Remove' boxed).
  2. The Tools list is now empty — the agent has no internet access at all. That’s the clean baseline we want before adding one narrow, allowed exit.

    Tools empty — no egress at all. A clean default-deny baseline.
    Tools empty — no egress at all. A clean default-deny baseline.

Next: add the one allowed exit — an allow-listed tool →