← Azure DevOps integration

Connecting Azure DevOps

You connect Azure DevOps by signing in with your Microsoft work or school account. One connection reaches every organization you belong to: Daslab looks them up when you connect, so you never type an organization URL.

What you need

A work or school account that you already use at dev.azure.com. Microsoft doesn't issue Azure DevOps access to personal Microsoft accounts (outlook.com, hotmail.com, live.com) through this kind of sign-in, so an organization you reach with a personal account can't be connected.

The organization has to belong to a Microsoft directory. That is the normal setup for any company signing in with work accounts: in Azure DevOps it shows under Organization settings → Microsoft Entra.

What Daslab asks for

The consent screen lists five Azure DevOps permissions. Each one is limited to what you can already do yourself, in the organizations you already belong to:

  • Your profile, to find the organizations you belong to.
  • Projects, to list them.
  • Work items, read and write, to find, create, update and comment on them.
  • Code, read and write, to read repositories and files and to comment on pull requests. Daslab doesn't push code.
  • Builds, read and run, to read pipeline runs and their logs and to queue a new run.

Every change an agent makes (a new work item, a comment, a pipeline run) waits for your approval first.

Organizations in another company's directory

Some organizations belong to a client's directory, where you're a guest. They don't show up in the list Daslab finds at connect, but they still work: give the agent the organization's name, as in dev.azure.com/name. Daslab asks Azure DevOps which directory owns it, gets access there with the sign-in you already have, and remembers the organization for next time.

That directory has to approve Daslab once. If it hasn't, the error includes an approval link: send it to an admin of that directory, and the organization works as soon as they accept.

When connecting fails

"Your Microsoft organization doesn't use Azure DevOps yet." You signed in with an account whose company has no Azure DevOps at all. Sign in with the account you use at dev.azure.com. If you're trying Azure DevOps for the first time, create a free organization there first, then connect again.

"Your Microsoft organization needs an admin to approve Daslab." Your company lets only admins approve apps. An admin approves Daslab once for everyone: they connect Azure DevOps themselves and tick Consent on behalf of your organization on the consent screen. Then connect again.

"Microsoft sent you back without approving the connection." Microsoft answers this way both when you press Cancel and when you leave its "Need admin approval" screen, which has no Accept button. If you saw that screen, your company lets only admins approve new apps. The message carries an approval link: send it to your IT admin, who signs in and approves Daslab once for everyone. They need no Daslab account. Then connect again.

"Azure DevOps did not accept this sign-in." The account is a personal Microsoft account, or it has no access to any Azure DevOps organization. Sign in with your work account.

"That organization's Microsoft directory asks you to sign in to it directly." The other company requires multi-factor sign-in or a device policy for guests. Daslab can't complete that on your behalf yet, so that organization stays out of reach until it can.

After you connect

The account card lists your projects. Add a project to a scene and it becomes that scene's default: the agent works in that organization and project without being told which on every request.