This Azure DevOps tutorial for beginners walks through the four things you do first: create an organization, create a project, add work items in Boards and code in Repos, then run a YAML pipeline in Azure Pipelines. Azure DevOps is Microsoft's cloud platform for planning work, hosting code, building it and deploying it, and the free tier is enough to follow every step here.
Menu names below follow Microsoft Learn as of November 2026. Azure DevOps changes its interface from time to time, so a button may sit in a slightly different place when you read this.
What Azure DevOps is made of
Azure DevOps is a set of services that share one organization and one sign-in. Each service answers one question in the development cycle.
| Service | What it does |
|---|---|
| Azure Boards | Work items, backlogs, Kanban boards and sprints |
| Azure Repos | Private Git repositories (or TFVC), pull requests, branch policies |
| Azure Pipelines | CI/CD: build, test and deploy on every change |
| Azure Test Plans | Manual and exploratory test management |
| Azure Artifacts | Package feeds for NuGet, npm, Maven, Python and Universal packages |
You do not have to use all five. Many teams use only Pipelines with code hosted elsewhere, or only Boards. The services are switched on per project, so you can ignore what you do not need.
Step 1: Create an organization
An organization is the top-level container. It holds your projects, users and billing. Microsoft Learn says organizations must be created by hand in the web portal; automated creation is not supported.
- Sign in to Azure DevOps with a personal Microsoft account, a GitHub account, or a work or school account.
- Select New organization.
- Enter a name, choose the hosting geography, pick an Azure subscription for billing, and select Continue.
Organization names have rules: English letters only, start and end with a letter or number, use only letters, numbers or hyphens in between, and stay under 50 characters. A bad name gives the error VS850015: The specified name is not allowed to be used: {Organization name}.
When it finishes, your organization lives at https://dev.azure.com/{Your_Organization}. Bookmark it.
What the free tier includes
As of November 2026, Microsoft lists these free-tier benefits for a new organization:
- The first five users free (Basic license)
- Azure Pipelines: one Microsoft-hosted concurrent job, up to 30 hours per month, plus one self-hosted concurrent job
- Azure Boards work item tracking
- Unlimited private Git repos in Azure Repos
- 2 GiB of Azure Artifacts storage per organization
Go past these limits and you pay through the Azure subscription you linked. Check the current numbers on the pricing page before you add a large team.
Step 2: Create a project
A project isolates one body of work: its own repos, boards, pipelines and permissions. You need to be an organization owner or a member of the Project Collection Administrators group to create one.
- Open
https://dev.azure.com/{Your_Organization}and select New project. - Enter a name. It must be 64 characters or fewer, cannot begin with an underscore, cannot begin or end with a period, and cannot contain characters such as
/ : \ ~ & % ; @ ' " ? < > | # $ * } { , + = [ ]. - Add an optional description, then choose the source control type and the work item process.
- Select Create.
For a first project, choose Git as the source control. For the process, Agile is the default if you use the command line; Basic is the simplest if you only want issues and tasks. You can create the same project from a terminal with the Azure DevOps CLI extension:
az devops project create --name MyFirstProject --description "Test project 1" --org https://dev.azure.com/fabrikam/ --process Agile --source-control git
Replace fabrikam with your organization name. Projects are private by default.
Step 3: Track work in Azure Boards
Boards is where you describe what needs doing. The work item types depend on the process you picked:
| Process | Main work item types | Board columns |
|---|---|---|
| Basic | Epic, Issue, Task | To Do, Doing, Done |
| Agile | Epic, Feature, User Story, Task, Bug | Backlog, Active, Resolved, Closed |
| Scrum | Epic, Feature, Product Backlog Item, Task, Bug | New, Approved, Committed, Done |
To add your first item, go to Boards > Boards, choose New item on the board, type a title and press Enter. Azure DevOps gives it an ID and assigns the team's default Area Path and Iteration Path. Open an item by selecting its title to add a description, an owner, or a note in the Discussion section.
To break a story into smaller pieces, open the card's actions menu, choose Add Task (the green plus icon), type a title and press Enter. Tasks inherit the parent's paths and show up on the sprint taskboard. To change an item's state, drag its card to the next column.
Step 4: Put code in Azure Repos
Every project with Git selected starts with an empty repo. Go to Repos > Files, then choose Clone to open the Clone Repository popup and copy the URL. From a terminal:
git clone https://dev.azure.com/{Your_Organization}/{Your_Project}/_git/{Your_Repo}
This is standard Git. Our guide to the git clone command covers options such as --branch and --single-branch, which Microsoft's page also lists.
For sign-in, Microsoft recommends Git Credential Manager (offered during the Git for Windows install) or SSH keys. Microsoft Entra tokens are preferred over personal access tokens, which it describes as higher risk. The old "Generate Git Credentials" button was removed in January 2025.
Work as you would on any Git host: create a branch, commit, push, then open a pull request under Repos > Pull requests. Branch policies can require a review or a passing build before a merge. If pull requests are new to you, how GitHub works explains the same flow, which carries over to Azure Repos.
Step 5: Run your first pipeline
A pipeline is a YAML file in your repo, usually azure-pipelines.yml at the root. Create it from the web portal:
- In your project, select Pipelines in the left menu.
- Select New pipeline, or Create pipeline if it is your first.
- On the Where is your code screen, pick the host (Azure Repos Git or GitHub), then pick the repository.
- Azure Pipelines inspects the repo and suggests a template that matches it, such as ASP.NET Core, Node.js, Maven or Python package.
- Review the YAML, then select Save and run. You are asked to commit the new
azure-pipelines.ymlfile; select Save and run again.
If you only want to see a pipeline run, a minimal file looks like this. It is a sketch built from the keywords in Microsoft's examples, not a template the portal generates:
trigger:
- main
pool:
vmImage: 'ubuntu-latest'
steps:
- script: echo Hello, world!
displayName: 'Run a one-line script'
trigger lists the branches that start a run when you push. pool picks the machine; vmImage selects a Microsoft-hosted image. steps are the commands or tasks to run, and a task is a pre-packaged script. Open the run from the Pipelines page to see each step's log.
Common first edits
- Change the platform. Set
vmImagetowindows-latestormacos-latest. - Run on pull requests. Add a
pr:block listing branches, for examplepr:followed by- main. By default it runs for each pull request change. - Test several platforms. Use
strategywith amatrixand pass the image name through a variable, such asvmImage: $(imageName).
If it still fails
A first pipeline most often stalls on access, not on the YAML. Microsoft's prerequisites say you need the ability to run pipelines on Microsoft-hosted agents: either enable the free tier of parallel jobs or buy a parallel job. If your run sits in the queue and never starts, check that first. If the repository step fails, confirm you are a member of the project's Contributors group, which Microsoft lists as the requirement to clone and contribute to code in private projects.
Frequently asked questions
- Is Azure DevOps free?
- Azure DevOps Services has a free tier. According to Microsoft Learn (as of November 2026), a new organization includes the first five users free with a Basic license, unlimited private Git repos, Azure Boards, one Microsoft-hosted pipeline job of up to 30 hours per month, one self-hosted job, and 2 GiB of Azure Artifacts storage. Usage beyond those limits is billed through a linked Azure subscription.
- What is the difference between Azure DevOps and GitHub?
- Both host Git repositories and can run CI/CD. Azure DevOps bundles Boards, Repos, Pipelines, Test Plans and Artifacts as separate services in one organization. GitHub centers on the repository, with issues, pull requests and Actions around it. Azure Pipelines can also build code that lives in a GitHub repository.
- Do I need an Azure subscription to use Azure DevOps?
- Microsoft Learn says you need an active Azure subscription to create new organizations, and the sign-up flow asks you to pick one for billing. Existing organizations and free tier limits are not affected by that requirement.
- What is the difference between Azure DevOps Services and Azure DevOps Server?
- Azure DevOps Services is the cloud version hosted by Microsoft at dev.azure.com. Azure DevOps Server is the on-premises version, which includes the same core services but needs your own infrastructure and maintenance.
- Should I use Git or TFVC for a new project?
- Use Git. Microsoft Learn describes Git as the default choice for new projects. TFVC is the older centralized version control system, and a project can have only one TFVC repository.