AZ-400: Designing and Implementing Microsoft DevOps Solutions

Design and Implement Authentication and Authorization Methods

Configure projects and teams in Azure DevOps

Azure DevOps provides an integrated platform for planning, developing, and delivering software. Properly configuring projects and teams ensures streamlined collaboration, robust security, and efficient workflows.

The image is a diagram illustrating project and team configuration in Azure DevOps, highlighting management of projects and teams for efficient collaboration, security, and workflow management.

1. Create Your Azure DevOps Project

A project in Azure DevOps centralizes your code repositories, work items, pipelines, and artifacts.

  1. Sign in to your Azure DevOps organization.
  2. Click New Project.

The image shows a step in creating a project in Azure DevOps, highlighting the "New project" button. It is labeled as "Step 02."

  1. Provide a Project name, Description, and select visibility (Public or Private).
  2. Choose a version control system (Git or TFVC) and a work item process (Agile, Scrum, or CMMI).
  3. Click Create to provision your project.

The image shows a step in creating a project in Azure DevOps, with a form for entering project details like name, visibility, version control, and work item process. It is labeled as "Step 04" and includes options for public or private visibility.

Your project is now ready. Next, tailor its settings to match your team’s needs.

2. Configure Project Settings

Access Project Settings by clicking the gear icon in the lower-left corner of your project dashboard.

The image shows a user interface for configuring project settings, with menus for general settings, boards, pipelines, repos, artifacts, and test options.

2.1 Key Configuration Areas

Setting CategoryPurposeLocation
GeneralRename project, update visibilityProject Settings > Overview
RepositoriesConfigure Git settings, branch policiesProject Settings > Repositories
PipelinesDefine build and release processesProject Settings > Pipelines
BoardsCustomize work items, backlogsProject Settings > Boards
SecurityManage permissions and group accessProject Settings > Security

The image is a diagram titled "Project Settings – Key Configurations," showing five categories: General settings, Repositories, Pipelines, Boards, and Security, each with a brief description of their functions.

2.2 Best Practices

The image is a slide titled "Project Settings – Best Practices" with three colored boxes labeled 01, 02, and 03, detailing conventions, access restrictions, and repository policies.

  • Use consistent naming conventions for projects and repositories.
  • Enforce branch protection and build validation policies.
  • Restrict access to sensitive resources based on roles.

Warning

Incorrect branch policies can expose your codebase. Always validate pull requests and require successful builds before merging.

3. Set Up Teams

Organize users into teams to manage backlogs, sprints, and dashboards at a granular level.

  1. Navigate to Project Settings > Teams.
  2. Click New Team.
  3. Enter team Name and Description.
  4. Add Members, default Areas, and Iterations.
  5. Click Create.

The image is a guide for setting up teams in Azure DevOps, showing step 4, which involves adding members, setting administrators, and configuring permissions.

3.1 Team-Specific Features

  • Boards & Backlogs: Tailored work item views and filters per team.
  • Dashboards: Team-level widgets and reports.
  • Iterations: Configure sprint schedules for each team.

4. Manage Permissions

Fine-grained permissions ensure that users have appropriate access without overexposure.

  1. Go to Project Settings > Permissions.
  2. Select a Team or User.
  3. Assign a role (Contributor, Reader, Admin).
  4. Adjust individual permissions as needed.

The image shows a screenshot of a project settings interface highlighting the "Permissions" section, with a list of user groups and their roles. It is labeled as "Step 03" in a process for managing team permissions.

4.1 Permission Management Best Practices

The image outlines three best practices for permission management: the principle of least privilege, regularly reviewing access levels, and using predefined roles to streamline permission management.

  • Follow the principle of least privilege.
  • Review access levels on a regular schedule.
  • Use predefined roles to simplify permission assignments.

Note

Leverage Azure Active Directory groups for large teams to streamline permission management.

5. Customize Work Items and Boards

Align Azure DevOps with your team’s processes by tailoring work items and board layouts.

5.1 Work Item Customization

  1. Go to Organization Settings > Boards > Process.
  2. Select a process template (Agile, Scrum, CMMI).
  3. Edit work item types, states, fields, and rules.

The image shows a software interface for customizing work items and boards, highlighting the "Process" section in organization settings. It includes a list of processes such as Basic, Agile, Scrum, and CMMI.

5.2 Configure Boards & Backlogs

  1. Under Team Settings, select Boards.
  2. Adjust columns, swimlanes, card styles, and colors.
  3. Configure backlog levels and view options.

The image shows a screenshot of a project management tool interface labeled "Configuring Boards and Backlogs," highlighting "Step 03" with a focus on a settings icon.

6. Configure Sprints and Iterations

Plan work in fixed timeboxes by defining sprints and iterations.

  1. Go to Project Settings > Boards > Project Configuration.
  2. Under Iterations, click New Child.
  3. Name each sprint, set Start and End dates.
  4. Assign work items to iterations via the backlog.

The image shows a user interface for setting up sprints and iterations, with fields for iteration name, start date, end date, and location. It is labeled as "Step 04" in the process.

7. Manage Work Items

Maintain transparency and ensure traceability by effectively managing work items.

  1. Open your project’s Boards.
  2. Click New Work Item, choose a type (Task, Bug, User Story).
  3. Complete fields (Title, Description, Tags) and save.
  4. Update states or add comments as work progresses.
  5. Link related items for end-to-end traceability.

The image shows a software interface for managing work items, indicating no work is scheduled yet, with options to set dates and create a new work item. It is part of a presentation slide titled "Managing Work Items."

The image shows a software interface for managing work items, specifically a "Create release 1.0" task with sections for description, acceptance criteria, planning, deployment, and development. It is labeled as "Step 04" in a process.

7.1 Work Item Best Practices

The image outlines best practices for work item management, including maintaining clear descriptions, using tags for categorization, and regularly updating item statuses.

  • Write concise, descriptive titles and acceptance criteria.
  • Use tags to filter and categorize work items.
  • Update statuses and comments to reflect real-time progress.

Watch Video

Watch video content

Previous
Design and implement permissions and security groups in Azure DevOps