Tartan NetworksStart free

Docs / Outsourced IT

Stand up your outsourced IT org

For tartan 0.9.36

The whole path for an IT provider, in order: your org, SSO, your team, your first client, your techs.

For your AI: tartannetworks.com/docs/outsourced-it.md

The whole path for an IT provider, in order: your org, SSO, your team, your first client, your techs. Each step links the page that has the detail. Your AI can run most of it for you: see Easier with your AI at the end.

Below, your organization is acme and your first client is northgate.

Before you start

  • A Windows computer and a passkey: Windows Hello, a security key or a passkey manager. The passkey is yours; no one else touches it, and no AI ever does.
  • Microsoft Entra ID for your staff, and someone who may grant admin consent there (Global Administrator or Application Administrator).
  • Tartan's app id. Ask Tartan for it at [email protected]. It is written <Tartan's app id> below.

Where to get each piece

Piece What it is Where
The tartan CLI Sets up and runs your organizations, for you and your AI Install and sign in to the tartan CLI
The console The same work on screen console.tartannetworks.com in your browser
Tartan Agent on a client's computers Puts the computer on the client's network A one-line install from the client's join code: Windows and Linux
Tartan Agent on a tech's laptop Connects the tech to a client for a job The installer with no join (the MSI, Join an organization left empty: Windows and Linux), then Techs, just in time
The Tartan skill The tasks and their order, for your AI tartan skill export --out <folder>: Hand it to your AI

1. Create your org with your passkey

Follow Create your org. You become the organization's first Owner, and Windows asks you to create your passkey.

An Owner signs in with the passkey alone, never with SSO. Keep the Owner passkey aside for Owner acts, and work day to day as an Admin with SSO (step 3).

2. Set up SSO

Your Entra groups decide who gets which role, here and in every client. Make three security groups:

Entra group In acme In each client that trusts it
Tartan Techs viewer tech
Tartan Admins viewer admin
Your management group admin nothing

A Viewer in your own organization works in clients without being able to change your organization. Only the people who run acme itself go in the management group.

Then follow SSO with Entra for its steps 1 to 3 only: consent to Tartan's app, assign your three groups to it, and run its check. Its trust rules are for a company's own staff; an IT provider adds these instead, one rule per group in acme. Your passkey approves each rule; the admin rule needs the Owner's:

tartan idp trust add --org acme --issuer https://login.microsoftonline.com/<tenant id>/v2.0 --client_id <Tartan's app id> --value <Tartan Techs object id> --role viewer --auto_approve_devices --dry-run
tartan idp trust add --org acme --issuer https://login.microsoftonline.com/<tenant id>/v2.0 --client_id <Tartan's app id> --value <Tartan Techs object id> --role viewer --auto_approve_devices

Add the Tartan Admins rule the same way, and the management group's with --role admin.

Two settings decide whether a sign-in with your SSO approves a person's own admin computer, with no Admin approving each one:

  • The rule: --auto_approve_devices marks it. A rule without it approves nothing this way.

  • The organization: admin_device_approval says how far a marked rule goes: oidc-auto (the default: computers, and browsers in the console), oidc-auto-computers (a browser waits for an Admin) or manual (an Admin approves every computer). Any Admin lowers it; only an Owner raises it. Save "oidc-auto-computers", with the quotes, as value.json, then:

    tartan org set --org acme --key admin_device_approval --value @value.json --dry-run
    

Neither approves a tech's laptop for tech connect: an Admin of acme approves that (step 5).

3. Invite your team

Invite the people in your management group, yourself included, with their work sign-in. The invite approves the computer they join from:

tartan user invite --org acme --role admin --name "<their name>" --upn <name@your domain>

Send each link only to its person, privately. They install the CLI and run tartan join "<the link>", sign in with Microsoft, and create their own passkey: Invite people.

4. Add your first client

Each client gets its own organization, with its own Owner passkey: the client's, or one someone on your team keeps for them. Follow Add a client org: sign up northgate, then trust your groups there, one rule per group:

  • Tartan Techs as tech: the client's Admin or Owner adds it.
  • Tartan Admins as admin: only the client's Owner adds it.

Give the client three values: your issuer (https://login.microsoftonline.com/<tenant id>/v2.0), Tartan's app id and your group's object id. The client never sees a list of your people: its console counts them on the rule and shows each tech computer as your organization's staff, never by name. Your people sign in again and find northgate in tartan me show: Your team and your clients.

5. Invite your techs

Invite the people in Tartan Techs and Tartan Admins as Viewers, once your first client trusts their group:

tartan user invite --org acme --role viewer --name "<their name>" --upn <name@your domain>

The invite approves the computer they join from only when they already work in a client, as a tech or an admin. Invited before any client trusts their group, they join with their passkey, and an Admin of acme approves their computer later: Admins and passkeys.

Each tech also registers their laptop for tech connect once, with Tartan Agent installed, and an Admin of acme approves it once. That approval counts in every client where they hold a role: Techs, just in time.

6. Connect for a job

A tech connects into one client for one job, for at most 10 hours, with a reason the client's Admins see. Their passkey is asked for every connect; no setting turns that off: Techs, just in time.

Check it worked

tartan idp trust list --org acme
tartan people list --org acme
tartan me show --json

The rules list your three groups. people list shows your team. A tech's me show lists acme as viewer and northgate as tech.

Next

Easier with your AI

Your AI can run this whole page with you. It runs the commands; you touch your passkey, sign in to Microsoft, and answer anything that needs your agreement. First install the CLI, sign in, and give your AI the Tartan skill: Hand it to your AI.

Then paste this to your AI:

Help me stand up our outsourced IT organization on Tartan.
Read https://tartannetworks.com/docs/outsourced-it.md and each page it links (add .md to its address),
and ask the CLI for each command's help with --help --json before you run it.
Go one step at a time. Say what you will run and why. Add --json to every command,
and run --dry-run first where a command has one.
Put changes that can run together into one batch file, so one passkey prompt approves them all.
Stop and ask me whenever a step needs my passkey, my Microsoft sign-in, my agreement to terms,
or a value only I have: our tenant id, our group object ids, Tartan's app id.
Never fill in a secret. Give each invite link to me only, and put it nowhere else.

A batch runs 2 to 20 changes in one organization with one passkey prompt (tartan batch run --file job.txt --dry-run --json, then without --dry-run). A command's --help --json says whether it can go in a batch. Trust rules and invites can't: each asks for its own prompt.