Azure Lab Services is retiring on June 28, 2027.

Move your labs (opens in a new tab)
Skip to main content

API clients are created by your organisation's owners and by anyone allowed to manage API clients.

1

Open API access

In the Admin portal, go to Settings › Integrations › API access and select Create API client.

2

Name it and choose scopes

Give the client a name (3–60 characters) that says what uses it, such as "LMS sync". Choose only the scopes it needs, and how long it lasts under Expires in.

3

Copy the secret now

The next dialog shows the Client ID, Client secret, Microsoft Entra tenant ID, Token URL, Scope, API base URL and expiry date. Copy them to your secret store: "You won't see it again. If it's lost, rotate the secret."

A new client can take up to a minute before its first token works.

​Scopes

ScopeAllows
labs.readRead labs
labs.writeCreate and manage labs
labs.archiveArchive labs (only owners can grant it)
attendees.readRead attendees and progress — personal data; needs approval from CloudLabs support
attendees.writeAdd attendees
deployments.writeDelete deployments
templates.readRead templates
codes.readRead activation codes
codes.writeCreate activation codes

​Look after a client

Each client's row offers Rotate secret, Remove old secret, Disable, Delete and Activity. Rotate before the expiry date: create the new secret, switch your system to it, then remove the old one.

Was this page helpful?