Skip to content
RankCore.AI
← All posts

Azure DevOps Part 1: Core Services and Organization Architecture

· azure-devops-series, Azure DevOps, Azure Boards, Azure Repos, Azure Pipelines

Azure DevOps series

All six parts of the series, in order:

  1. Part 1: Core Services & Architecture (you are here)
  2. Part 2: Repos, Branching & YAML Pipelines
  3. Part 3: Agents, Variables, Secrets & Service Connections
  4. Part 4: CI/CD, Build, Artifacts & Release
  5. Part 5: Multi-Stage Pipelines, Security & Troubleshooting
  6. Part 6: End-to-End Workflow, Best Practices & Interview Prep

Azure DevOps is Microsoft's cloud platform for planning work, hosting code, running CI/CD, storing packages, and managing tests. You can use all five services or only the pieces that fit the rest of your stack. The short video above walks the foundation. This article follows the same flow, then fills in the design decisions a solutions architect has to make before the first repo is created.

Title card for Azure DevOps Part 1 of 6 from RankCore.AI, covering core services and organization architecture

Azure DevOps Part 1 of 6: core services, organization structure, and access.

What Azure DevOps actually is

Microsoft describes Azure DevOps as collaborative tools for the full development lifecycle. The video puts that lifecycle on a ring: Plan, Code, Build, Test, Release, and Monitor. The platform is strong from plan through release. Production monitoring usually comes from Application Insights, Azure Monitor, or your existing stack, with incidents flowing back into Boards.

Lifecycle ring around Azure DevOps by Microsoft: Plan, Code, Build, Test, Release, and Monitor, with badges for cloud, scales with you, any language, and any platform

The platform covers the delivery loop. Monitoring usually comes from Azure Monitor or your existing observability stack, then flows back into work items.

It is a cloud service at dev.azure.com. Azure DevOps Server still exists for organizations that cannot put source and pipeline history in Microsoft's cloud, but the feature lag, patching, and identity model are different. Unless compliance forces Server, I default to the cloud service.

It scales with you, but not automatically. Identity, process templates, area paths, and permission groups all get harder to change later, so the architecture work belongs at the beginning, when the org is still empty.

It works with any language and any platform: .NET, Java, Node, Python, Go, containers, and mobile apps, on Windows, Linux, or macOS agents. That flexibility is also how teams create five conflicting build styles. Standardize templates, agent pools, and environments even when the languages differ.

The five core services

The product is five services that share an organization and, usually, a project. Each can be enabled or de-emphasized, and several have their own permission model on top of project-level access.

The five Azure DevOps core services: Boards, Repos, Pipelines, Artifacts, and Test Plans

Five services, one organization. You can adopt all of them, or only the ones that fill a gap in your current toolchain.

Azure Boards: plan and track the work

Boards is the planning system: work items, backlogs, boards, sprints, and queries. The video lists epics, features, stories, and tasks, but that hierarchy depends on the process: Basic, Agile, Scrum, or CMMI. Agile uses User Stories; Scrum uses Product Backlog Items; Basic is thinner. CMMI is formal and rarely the right default for a product team.

The process choice is painful to reverse. You can customize an inherited process, but you cannot casually convert Scrum to Agile without migration work. If several products should share one reporting model, start them on the same inherited process.

Area paths carve up the backlog by product or component; iteration paths define sprints. A team is a Boards construct with its own backlog and cadence, mapped to area paths. If two groups need independent sprints, they should be separate teams, not two swimlanes on one board.

A common mistake is to treat Boards as a ticket dump and keep the real plan in a spreadsheet. Then a branch policy cannot require a linked work item, and the audit story falls apart. If you use Boards, make it the system of record.

Azure Repos: Git, branches, commits, and pull requests

Repos is Git hosting: repositories, branches, commits, and pull requests, with optional TFVC for older centralized workflows. For new work, Git is the default I recommend; almost every modern branching, policy, and YAML-pipeline pattern assumes it.

Unlimited private Git repos is generous, but sprawl has a cost: permissions and branch policies are per repository. A product with one deployable can live in one repo; independently versioned libraries may need several. What I avoid is a new repo for every tiny script, because policies and templates then have to be copied everywhere.

Part 2 of this series goes deep on branching, pull requests, and policies. The point in Part 1 is simpler: if main is not protected, nothing downstream in Pipelines will save you.

Azure Pipelines: CI/CD as code

Pipelines is the CI/CD engine: build, test, and deploy, with YAML as the recommended definition format. Classic (UI) pipelines still work, but Microsoft recommends YAML because the definition lives in the repo, is versioned with the code, and can be reviewed like any other change.

A pipeline is a contract: which branch can trigger it, which agent pool it may use, which service connections it can touch, and which environments require approval. Those controls live in the project, not only in the YAML file. Shared projects can share templates — and can accidentally share production connections unless you lock those down.

Azure Artifacts: private package feeds

Artifacts hosts private feeds for NuGet, npm, Maven, Python, and Universal Packages, and it can upstream public registries. This is the service teams forget until a public package disappears, or a licensed internal library needs a controlled distribution path.

Treat Artifacts as a product. Decide who can publish or delete a version, whether feed views are part of promotion, and how retention will keep storage in check. Organization-scoped feeds suit shared libraries; project-scoped feeds isolate products. If you upstream nuget.org or npmjs, restore through your feed rather than letting every pipeline talk to the public internet untraced.

Azure Test Plans: manual and exploratory testing

Test Plans covers test cases, suites, plans, and manual or exploratory testing. Automated tests usually run in Pipelines; Test Plans is the human-led layer and the traceability from a work item to a result. Teams that already manage tests elsewhere can skip it; regulated teams often cannot. Budget for ownership — stale unused cases are worse than a small set executed every sprint.

Mix and match, including GitHub

You do not have to turn all five services on day one. Use the services you need. A common, fully supported pattern is to keep source code on GitHub and run Azure Pipelines against that repository. Boards might stay in Azure DevOps, or work might stay in GitHub Issues.

Mix and match diagram showing Azure Pipelines building code that lives on GitHub

A supported pattern, not a compromise: pipelines in Azure DevOps, code on GitHub. Use the services that fit; do not force a migration you do not need.

The anti-pattern is to half-migrate: two Git hosts, two planning tools, and three package feeds, with no system of record. Pick a source of truth for code, one for work, and one for packages, then integrate the rest.

How it is organized: organization, project, team, users

This structure shows up in architecture reviews and interviews, and it is expensive to redo. Azure DevOps has four levels.

How Azure DevOps is organized: Organization, Project, Team, and Users

Four levels, each with a different job: billing and policy at the organization, services at the project, backlogs at the team, and identities at the user.

1. Organization. This is the company-level container: users, projects, billing, and org-wide policies. It is also the identity and compliance boundary. In Azure DevOps Services, an organization is connected to a Microsoft Entra ID tenant, which determines who can be invited, whether guests are allowed, and how you enforce multifactor authentication and conditional access. I treat "one Entra tenant, one Azure DevOps organization" as the default. Multiple organizations fragment billing and user management. They are justified when legal entities, acquisitions, or data-residency rules demand a hard wall.

2. Project. A project is the container for repos, pipelines, boards, artifacts, and test plans. It is the primary isolation boundary inside the organization. Permissions, dashboards, wiki, and most service connections are project-scoped. Each project has one process (Basic, Agile, Scrum, CMMI, or an inherited customization).

Microsoft's organization-structure guidance is more nuanced than "always one project" or "one project per product." One project with multiple teams is easier when teams share source, packages, and a process, and when you want portfolio boards. Separate projects are better for hard security isolation, a different process, or a clean audit boundary. The video's tip — separate projects per product — is a good starting point for distinct products, not a law. A dozen microservices owned by one platform team usually belong in one project. Model projects around isolation needs, not the org chart.

3. Team. A team is how people work inside a project: its own backlog, board, and sprint configuration, typically filtered to area paths. Dev, QA, and operations can be separate teams or one team with a shared cadence. Teams are cheap to change; projects are not. When in doubt, add a team first.

4. Users. Users are people or service accounts granted access through groups. Human users should come from Entra ID. Pipeline identities should be named, not a shared personal account that breaks when someone leaves. Access levels (Stakeholder, Basic, and Basic + Test Plans) are a licensing concern on top of permissions: a user can have project permission and still lack the access level required for Repos or Test Plans. Do not confuse the two.

A compact CLI starting point, once the Azure DevOps CLI extension is installed and you are signed in:

az devops configure --defaults organization=https://dev.azure.com/contoso project=WebApp
az devops project show --project WebApp --output table
az devops team list --output table

Access is RBAC, and it has more than one scope

Access in Azure DevOps is role-based, but it is not a single role attached to a user. Permissions are evaluated at several scopes, and the most permissive inherited grant often wins — which is why "I removed them from the project" does not always mean "they cannot push to that repo."

Azure DevOps RBAC at organization, project, repository, and environment scope, with built-in and custom roles

Permissions stack at four scopes. Built-in groups cover most cases; custom groups exist for the exceptions you can actually name.

The four scopes in the video are the ones I design against.

Organization. Who can create projects, manage users, install extensions, and change billing or policy. This should be a very small platform or IT group, not every team lead. Project Collection Administrators is powerful; treat membership as break-glass and monitor it.

Project. Who can contribute to repos, administer pipelines, manage service connections, and change boards. Built-in groups such as Readers, Contributors, Build Administrators, and Project Administrators are the starting point. Most engineers belong in Contributors. Project Administrators can change permissions, delete pipelines, and alter service connections.

Repository. Branch policies and repo-level permissions (contribute, force push, manage permissions) are where source control is actually protected. A Contributor at the project level can still be denied force-push on main. That is the model you want. Part 2 covers the policies; the Part 1 rule is that they are not optional add-ons.

Environment. Pipeline environments (dev, QA, UAT, production) have their own permissions and approvals and checks. Being able to edit YAML does not mean being able to deploy to production. Approvals, exclusive locks, and required-template checks belong on the environment so a pipeline cannot bypass them by omitting a step.

Built-in groups cover most needs. Custom groups are useful when a job does not match a built-in role — for example, a release-manager group that can approve production but cannot change variable groups. Do not create a custom group for every team.

Service principals, managed identities, and pipeline identities need the same discipline as humans: the smallest Azure role on the smallest scope, and no production connection on a public or fork-triggered pipeline. Part 3 covers agents, secrets, and service connections.

Interview tip: say the hierarchy, then add the judgment

If you are asked how Azure DevOps is structured, start with the line from the video: Organization, then Project, then Team, then Users, then Permissions. Then add the two design rules that separate a memorized answer from an architectural one.

Interview tip: Organization, Project, Team, Users, and Permissions, with least privilege and separate projects per product

The hierarchy is the easy part. The judgment is least privilege, and knowing when a product deserves its own project.

Least privilege. Put people in the least powerful group that lets them do the job. Prefer group assignment over one-off user grants. Keep Project Administrators and Organization Administrators small. Protect production with approvals that are independent of who can push to main. Time-box contractor access and avoid opening the entire organization.

Separate projects per product — with a caveat. Use a separate project when a product has its own stakeholders, security boundary, or process. Use one project with multiple teams when several teams ship the same product, share repos, and need a single portfolio backlog. "One project per team" is usually too granular. "One project for the entire enterprise" is usually too coarse once compliance and ownership diverge.

A short checklist I use when reviewing an estate:

  • Creating the organization on a personal Microsoft account instead of the company Entra tenant.
  • Letting anyone create projects and repos, so naming and isolation collapse.
  • Making every engineer a Project Administrator so they can set a pipeline variable. Use a narrower group instead.
  • Copying the company org chart into projects, then orphaning that structure after a reorganization.
  • Turning on all five services with no owner, especially Artifacts and Test Plans.
  • Forgetting that Stakeholders cannot do everything Contributors can. License level and permission group are different knobs.

You do not need a 40-page strategy document. You do need four written decisions: which Entra tenant owns the organization, whether you will have one organization or more, which products get their own project, and who is an administrator at each scope. With those in place, Part 2 can take on branch protection, pull requests, and YAML pipelines.

Next: Part 2: Repos, Branching & YAML Pipelines

If you want more short, practical lessons like this on AI, code, cloud, and security, follow @rankcore.ai.

Want to go deeper?

Our step-by-step video courses turn these ideas into results.

See courses

Comments

Sign in or create a free account to join the discussion.

No comments yet — be the first.