MDM rollout is available on Enterprise plans only.
Supported platforms
| MDM | OS Support |
|---|---|
| Kandji | macOS |
| Intune | macOS, Windows |
Supported IDEs
- VS Code
- Windsurf
- Cursor
Prerequisites
- Enterprise tier subscription to Corridor. You can verify this at app.corridor.dev/teams
- Team admin role in Corridor. You can verify this at app.corridor.dev/teams—you should see “Admin” next to your email
Verifying a domain
In order to use the MDM scripts, you must verify an email domain for your team. Corridor will only provision users with the email domain you have verified.Navigate to Teams
Go to app.corridor.dev/teams.
Enter your domain
Go to the Domain Verification section and enter your organization’s domain name (e.g.,
acme.com).Creating a universal team token
In order to use the MDM scripts, you must create a universal team token to identify your team and verify your team admin access.Navigate to Teams
Go to app.corridor.dev/teams.
Generate a token
Under Universal Team Tokens, click Generate New Tokens. Add a token name and select an expiration date.
Kandji (macOS)
For Kandji, you must create a custom profile with global variables before running the Corridor script.Create a custom profile
Download global variable config
Click Custom Profile, then download the Global Variable Config that Kandji supports.
Add the Corridor script
Create a custom script
In Kandji, go to Library and search for Custom Script. Assign to your desired Blueprints. Select Execution Frequency: Run once per device.
Add your token
Replace the
CORRIDOR_TEAM_TOKEN value at the top of the file with the universal team token you generated.Intune
Intune scripts support both macOS and Windows. You must first generate a Microsoft Graph token with the right permissions—this token is used to retrieve the device email.Generate a Microsoft Graph token
Open Graph Explorer
Go to Microsoft Graph Explorer and sign in.
Set permissions
Click Modify Permissions and consent to
User.Read permissions. This requires Admin consent.Windows
Navigate to scripts
On intune.microsoft.com, go to Devices → Scripts and remediations under Manage Devices.
Add your tokens
In the script, replace the
CORRIDOR_TEAM_TOKEN value with your universal token, and replace the GRAPH_API_TOKEN value with the Microsoft Graph API access token.Configure script settings
Select Yes for “Run this script using the logged on credentials”, No for “Enforce script signature check”, and No for “Run script in 64 bit Powershell Host”.
macOS
Navigate to scripts
On intune.microsoft.com, go to Devices → Scripts and remediations under Manage Devices.
Add your tokens
In the script, replace the
CORRIDOR_TEAM_TOKEN value with your universal token, and replace the GRAPH_API_TOKEN value with the Microsoft Graph API access token.Configure script settings
Select Yes for “Run script as signed-in user” and 1 time for “Max number of times to retry if script fails”.