Microsoft Entra Agent ID
Security

Integrate Aws Bedrock Agent

In brief

The guide updates “Entra” to “Microsoft Entra” in the diagram alt text, setup heading, and TENANT_ID descriptions. No technical procedure or feature change is shown.

What Entra admins need to know

No administrative action is indicated; this is a terminology and accessibility documentation update.

This editorial summary was generated by AI from the documentation changes. Verify important details in the full Microsoft Learn article.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

The Microsoft Entra Auth SDK (sidecar) sits between your agent and Microsoft Entra ID. The agent never talks to Microsoft Entra ID directly and never manages credentials. It asks the sidecar for an Authorization header to call a downstream API. Amazon Bedrock handles LLM inference separately, without having to worry about identity.

:::image type="content" source="media/integrate-aws-bedrock-agent/bedrock-sidecar-token-flow.png" alt-text="Diagram showing the token flow between the Bedrock agent, sidecar, Microsoft Entra ID, and Weather API." lightbox="media/integrate-aws-bedrock-agent/bedrock-sidecar-token-flow.png":::

The sample runs three containers on a Docker bridge network:

Override the default by setting BEDROCK_MODEL_ID in your .env file. You must enable each model in the AWS Bedrock console > Model access before it can be invoked.

Create the Microsoft Entra objects (first-time setup)

If you already have a .env file from a previous run with BLUEPRINT_APP_ID populated, skip to Configure environment variables.

  1. Create the Blueprint app and Agent ID for the autonomous flow by following the PowerShell workflow in Create an agent identity blueprint and Create agent identities. At the end you have:

    • TENANT_ID: Your Microsoft Entra tenant.
    • BLUEPRINT_APP_ID: Blueprint app registration.
    • BLUEPRINT_CLIENT_SECRET: Client secret for the Blueprint.
    • AGENT_CLIENT_ID: The Agent ID created from the Blueprint.
  2. Set the following variables in your .env file:

    • TENANT_ID: Your Microsoft Entra tenant ID.
    • BLUEPRINT_APP_ID: Blueprint app registration. The sidecar authenticates as this app.
    • BLUEPRINT_CLIENT_SECRET: Blueprint client secret (local development only).
    • AGENT_CLIENT_ID: Your Agent ID. Appears as the AgentIdentity query parameter.
Daily Entra.News

Get daily email updates

Get a concise summary of the latest Microsoft Entra updates delivered straight to your inbox.

Loading the secure signup form…