Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Create a governed Microsoft Entra Agent ID and its associated agent user while deploying a new Azure SRE Agent. Use the Agent ID for native Teams integration and configuration with Microsoft Purview and Microsoft Defender through Microsoft Agent 365.
The identity is separate from the agent's user-assigned managed identity (UAMI) for Azure resource access.
Prerequisites
- An Azure subscription and permissions to create an SRE Agent.
- The object ID of a sponsor: a user, or a Microsoft 365 or dynamic-membership group, in the subscription's tenant. Security groups aren't supported. In the Microsoft Entra admin center, find the user under Users or the group under Groups > All groups, and copy its Object ID.
- The subscription's Microsoft Entra tenant ID, plus an agreed user name, domain, and display name for the agent user.
Create an agent with an agent identity
Important
Agent ID can cause data to be sent to the customer's sign-up regions. For more information, see Agent 365 data handling.
Go to the SRE Agent portal, sign in, and select Create agent.
Complete Basics, including the subscription, resource group, name, region, model provider, and Application Insights. Configure the UAMI for Azure access as needed. See Configure basics.
Select Next to open Advanced setup.
Under Agent identity (preview), select the Set up agent identity checkbox and complete the identity and agent user fields:
Field What to provide Identity name A name for the governed identity, such as sre-ops. Required.Sponsor object ID The Object ID of the sponsoring user or group. Required. Tenant ID Leave the prefilled subscription tenant. Only that tenant is accepted. Display name Required. The service appends (SRE Agent)to the agent user's display name.User name and Domain Both required; together they form the agent user's email address, such as sre-oncall@contoso.com.Manager Your signed-in user account. It can't be changed in the wizard. Continue to Review + create. Verify the agent configuration, identity, sponsor, tenant, and agent user.
Start deployment and follow Deploy until it succeeds.
Verify the provisioned identity
- Open the agent and go to Settings > General.
- Confirm Agent identity shows your identity name. Select it to open the identity in Microsoft Entra.
Next steps
- Azure resource access: Creating the governed identity doesn't change the selected resource-access identity or copy the UAMI's role assignments. Continue managing access through agent permissions.
- Teams: The agent user is already created. In Teams setup, keep its loaded user name, domain, and display name unchanged to reuse it. Don't repeat user creation or delete the identity to restart setup.
- Security and compliance: Review Microsoft Purview protections for Agent 365 and Microsoft Defender setup for AI agents.
For the distinction between governed identities and managed identities, see Agent identity.