Create and manage teams for entity ownership
Ownership for monitored entities is defined within teams. You can set up ownership teams in the web UI, via API, and using Configuration as Code. Each team has a unique identifier that is the basis for applying ownership to entities by different methods (Kubernetes labels and annotations, host metadata, environment variables, or tags). Additionally, team definitions consist of names, descriptions, important routing information for notifications (via Microsoft Teams, Slack, Jira, and email), responsibilities (such as operations or security), and additional helpful links.
Team settings are based on the Settings 2.0 framework, which defines each team configuration as a settings object based on the ownership schema, whether you use API, Configuration as Code, imported data from third-party databases, or the web UI at Settings > Ownership.
Ownership information attached to monitored entities aids in mapping your Dynatrace environment to the right teams for collaboration, issue resolution, and vulnerability escalation.
Permissions
You need any of the following permissions to create, edit, or delete a team via API.
- The
settings.write
token permission - The IAM policy
ALLOW settings:objects:write, settings:schemas:read WHERE settings:schemaId = "builtin:ownership.teams";
You need the Manage monitoring settings permission at the environment or management-zone level to create teams via the web UI.
Create a team via web UI
To create a team via the Dynatrace web UI
-
Go to Settings > Ownership > Teams.
-
Select Add team.
-
required Start by providing a Team name.
In ownership team data imported from Microsoft Entra ID, the displayName
import parameter from get_groups
is set as the Team name.
-
required The Team identifier is auto-populated based on the team name. Use the default identifier or provide your own.
Requirements
Team identifiers are the basis of applying ownership to entities, regardless of the method. Main team identifiers must be unique across your environment. However, you may reuse the identifier of a previously deleted team.
- Identifiers must be unique; no two main team identifiers can be the same.
- Identifiers must be between 1 and 100 characters long.
- They must begin and end with a letter (
[a-zA-Z]
). - They can contain hyphens (
-
), underscores (_
), and alphanumerics between the opening and closing characters. Blank spaces and other special characters are not supported. - Once created, a main team identifier cannot be edited or changed.
In team information imported from Microsoft Entra ID, this field is set to the corresponding group's Object Id in Entra ID and cannot be edited. The External ID of the imported ownership team in Dynatrace is also set to this value.
-
Add a Description that aids in differentiating the team, for example, by entities managed or by responsibility. This description is appended to the team name for display on the Ownership teams page.
-
Optionally, specify Supplementary identifiers. Select Add supplementary identifier to provide up to three additional identifiers, for example, to identify sub-teams. When assigning ownership to entities, you can use the main team identifier or any of the supplementary identifiers to assign an entity to the named team.
- Supplementary identifiers must meet the same character requirements as the main team ID.
- A supplementary identifier cannot be the same as the main identifier of the same team.
- Within a team, supplementary identifiers must be unique.
- A supplementary identifier can be the same as the main or supplementary identifier of another team.
- Unlike the main team identifier, supplementary identifiers may be edited and deleted.
In ownership team data imported from Microsoft Entra ID, the
mailNickname
import parameter fromget_groups
is set as a unique, human-readable Supplementary Identifier. -
Select all Responsibilities that apply to the team. Although optional, these toggles provide critical metadata at a glance and help you specify the appropriate contact details.
- Development—Teams responsible for developing and maintaining the underlying software code
- Security—Teams tasked with assessing the impact and priority of vulnerabilities and responding to them
- Operations—Teams that deploy and manage software, with a focus on performance and availability
- Infrastructure—Teams responsible for installing and maintaining IT hardware
- Line of business—Teams responsible for meeting customer and business goals
-
Add all Contact details that apply to the team. You can provide specific routing information for targeted notifications via email, Jira, Microsoft Teams, and Slack.
You can add as many entries as required. Create a separate entry for each email address, Slack channel, Microsoft team, or Jira project you want to add.
- Select Add contact information.
- Select an Integration type.
- Provide details as follows:
- Email—Provide a single Email address.
- Jira—Enter the Jira Project name, Default assignee required, and project URL.
- MS Teams—Provide the Team name and URL (you can provide the link to a team channel from MS Teams).
- Slack—Provide the Channel name and URL.
-
Provide any other Links describing the team or its responsibilities.
-
Select Add link.
-
Select the link Type, for example, Documentation or Wiki.
-
Provide the URL.
You can add as many entries as required. Create a separate entry for each link you want to add.
-
Select Add additional information to provide additional key-value pairs in the Name and Value fields, for example, cost center names or organizational hierarchy information. You can also provide an optional URL.
Keys for additional information:
- Must be 1–100 characters long.
- Can contain letters, numbers, special characters, and spaces.
-
Provide an External ID to be used only for automation purposes such as importing or updating team information. For example, use this field to store the unique ID assigned to a team in an external system such as Active Directory.
- An external ID can only be specified during team creation.
- Once created, an external ID cannot be modified.
- This string can begin and end with and contain special characters, blank spaces, numbers, and letters.
- External IDs cannot be used to apply ownership information to entities in key-value pairs; use the main team ID and supplementary IDs to assign entities to team owners.
- In team information imported from Microsoft Entra ID, this field is set to the corresponding group's Object Id from Entra ID and cannot be edited. The Team identifier of the imported ownership team is also set to this value.
-
Save changes.
See Best practices for entity ownership for more information about setting up teams optimally.
Create a team via API and Configuration as Code
Team creation via the Settings API requires the ownership configuration JSON schema (builtin:ownership.config
) provided by Dynatrace. You can retrieve the schema using the Settings API. Provide team configuration as a JSON payload.
Configuration as Code enables you to use JSON templates and YAML files for team creation for one or multiple teams at the same time.
Import teams via Workflows
You can import user groups from Microsoft Entra ID and ServiceNow as ownership teams within Dynatrace.
Therefore, see how to use the import_teams
action and workflows for importing teams.
Manage teams
You can manage (create, delete, edit) ownership teams via Settings > Ownership > Teams as well as the Settings API.
The Ownership teams settings page lists all teams (and their descriptions) in your environment, whether created via web UI or the API. Use the Filter field to narrow this list by any string in a team name or description.
You can Delete a team from this view and expand Details to view and edit team information. You cannot, however, edit or delete the main team identifier.
Revision history
Select in the upper-right corner of the Ownership teams page and then select Revision history for details of changes, including team creation, modification and deletion. Revisions are listed with Timestamp, the Source of the change (Web UI or API), and the User making the change.
Expand to view the Details of any revision. Changes are color coded to show the Original value and any New value. The image below shows a deleted supplementary identifier.
Switch to advanced mode and select Show diff to view the same changes as JSON objects. The Key displayed in advanced mode is a unique setting ID assigned to each team. Select the key to view the corresponding team's details.
You can also filter revision history for a specific team—paste any setting ID Key into the Filter field .
Additional team management
There are additional conveniences for team-specific management within each team.
-
Expand team details on the Ownership teams page.
-
Select in the upper-right corner of team details to access team-specific Revision history, helpful API snippets for team management, and the ability to Duplicate team details as the basis for creating a new team.
The API snippets for reading, creating, updating, and deleting teams are available for both Windows and Linux command line interfaces. While API snippets are team specific, you can modify them, for example, by removing the team identifier to create a new team. Be sure to provide your access token.