Skip to main content
Connector guides

Connect Nerdio Manager

Nerdio Manager for MSP manages Azure Virtual Desktop, Windows 365 and Intune for many customers from one install in your own Azure subscription. StackJack connects an AI assistant to your install's…

Written By Christopher Scaminaci

Last updated About 2 hours ago

Nerdio Manager for MSP manages Azure Virtual Desktop, Windows 365 and Intune for many customers from one install in your own Azure subscription. StackJack connects an AI assistant to your install's REST API.

Connecting Nerdio Manager to StackJack gives your AI assistant a family of nerdio_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an AI assistant can call through StackJack. With them, your AI can:

  • Read accounts - the customer accounts in your install, with the account ID every account-level tool takes
  • Read host pools - host pools, their session hosts and user sessions, assigned users, and each pool's AVD, auto-scale, directory, RDP, FSLogix, VM deployment, session timeout, tag and schedule settings
  • Read desktop images and workspaces - desktop images with their change log and schedules, workspaces and their sessions
  • Read devices - Intune devices with compliance, apps, app install failures, hardware, the local administrator password and the BitLocker recovery keys
  • Read users and groups - search users, read a user, a user's MFA status and a group
  • Read backup - protected items and their recovery points
  • Read MSP-level and account-level settings - directories, scripted action variables, FSLogix profiles, auto-scale profiles, schedules and scripted actions
  • Read billing - Nerdio invoices and saved cost estimates
  • Make changes (on Pro plans) - link a customer tenant, create and delete host pools, change a host pool's auto-scale configuration, and sync a device with Intune

How StackJack authenticates to Nerdio Manager

Nerdio Manager's REST API signs in with a Microsoft Entra application in your own tenant. When you enable the REST API on your install, Nerdio Manager creates that application and shows its client ID, a client secret, your tenant ID and the scope. StackJack asks Microsoft Entra for a token with them and sends the token only to your install's address. The client secret goes only to Microsoft Entra.

The application acts for the whole install, so StackJack cannot tell which person asked. The application can create and delete host pools and their virtual machines in your customers' Azure subscriptions, link new customer tenants, and read device local administrator passwords and BitLocker recovery keys. Keep the client secret as secret as a password.

About the source

Nerdio publishes no public API reference for the Nerdio Manager REST API. StackJack's tools follow the calls Nerdio's own PowerShell module (NMM-PS) makes, and Nerdio's help center article "Nerdio Manager Partner API: Getting Started". If Nerdio changes a route in a newer release, the tool answers what Nerdio Manager says, and we fix the tool.

Connect it in StackJack

  1. In Nerdio Manager, at the MSP level, open System, then System Settings, then Integrations.
  2. In the REST API area, enable it and follow the steps. Run creates the application, Grant gives it admin consent in the Azure portal, and Generate creates the client secret.
  3. Copy the tenant ID, the client ID, the client secret and the scope (it looks like api://{application ID}/.default).
  4. In StackJack, open Connectors, then Nerdio Manager.
  5. Enter the install address (the address you sign in to Nerdio Manager at, for example https://nmm-app-1234.azurewebsites.net), the tenant ID, the client ID, the client secret and the scope.
  6. Click Test connection. StackJack asks Microsoft Entra for a token and reads your account list, which changes nothing.

Enter all five values again whenever you save the connection. If you paste the address with /rest-api/v1 at the end, StackJack removes it.

What is worth knowing before you start

Account IDs and host pool keys

Most tools take accountId, the ID of one customer account: nerdio_list_accounts lists them. A host pool is named by four values: the accountId, the Azure subscriptionId, the resourceGroup and the poolName. nerdio_list_host_pools answers them.

Device tools use the beta API

The device tools call Nerdio's beta API (v1-beta), as NMM-PS does. Nerdio may change these routes in a newer Nerdio Manager release.

Tools that answer a secret

nerdio_get_device_local_admin_password reads the device's Windows LAPS local administrator password, and nerdio_get_device_bitlocker_keys reads the device's BitLocker recovery keys. StackJack removes the password and the recovery keys from the answer unless includeSecrets is true. Set includeSecrets only when you need the secret, use it only to sign in to or unlock the device, and do not write it into a ticket or a note.

Scripted action variables marked as secret answer a masked value.

Destructive actions

These actions are marked destructive, and your AI client asks for approval before it runs one:

  • Linking a customer tenant as a new account (nerdio_link_tenant), which gives your install access to that tenant with the tokens you pass
  • Creating a host pool (nerdio_create_host_pool), which creates virtual machines in the customer's Azure subscription
  • Deleting a host pool (nerdio_delete_host_pool)
  • Replacing a host pool's auto-scale configuration (nerdio_update_host_pool_autoscale_configuration)

Syncing a device with Intune (nerdio_sync_device) is a change but not destructive: the device checks in now instead of on its own schedule.

Rate limit

No rate limit is documented. StackJack still paces one connection to about two calls a second, which also keeps load off your own install. If Nerdio Manager ever answers that the limit is spent, StackJack says to wait and does not count it against the connection.

When Nerdio Manager refuses a call

  • Microsoft Entra refuses the client ID, secret, tenant or scope: the connection needs new values. Enter them again from the REST API page.
  • Nerdio Manager refuses the token Entra issued: Entra accepted the credential, so check that the scope matches the one on the REST API page, that the REST API is enabled, and that the install address is right. StackJack does not count this against the connection.
  • Something other than Nerdio Manager answers: a sign-in page or a proxy answered at the address. Check the install address.
  • Nothing found: check the account ID and the other identifiers with the matching list tool.
  • An outage: the install runs in your own Azure subscription, so check that its App Service is running. Read the item before you repeat a change, because a change may have gone through.

Plans and limits

Reads are available on the Free tier. Every change is Pro. Business reaches the same tools as Pro and differs by monthly call quota.

See the generated Nerdio Manager tool reference for the current inventory, plan assignment, input schemas and destructive-action labels.

Nerdio Manager tools

nerdio_ · 66 tools · Free 61 · Pro 5

Accounts

ToolWhat it does
nerdio_link_tenant
Pro · Destructive
DESTRUCTIVE.
nerdio_list_accounts
Free · Read-only
List every customer account in the Nerdio Manager install: each account's id, name and Entra tenant ID.

Host pools

ToolWhat it does
nerdio_create_host_pool
Pro · Destructive
DESTRUCTIVE.
nerdio_delete_host_pool
Pro · Destructive
DESTRUCTIVE.
nerdio_get_host_pool_active_directory
Free · Read-only
Get the directory (Active Directory or Entra ID join) settings a host pool's session hosts use.
nerdio_get_host_pool_autoscale_configuration
Free · Read-only
Get a host pool's auto-scale configuration: the same object nerdio_update_host_pool_autoscale_configuration writes.
nerdio_get_host_pool_autoscale_settings
Free · Read-only
Get a host pool's auto-scale settings.
nerdio_get_host_pool_avd_settings
Free · Read-only
Get a host pool's Azure Virtual Desktop properties (the host pool type, the load balancing and the session limits).
nerdio_get_host_pool_fslogix
Free · Read-only
Get a host pool's FSLogix profile settings.
nerdio_get_host_pool_rdp_settings
Free · Read-only
Get a host pool's RDP properties (redirection, display and device settings).
nerdio_get_host_pool_schedule_configurations
Free · Read-only
Get the schedule configurations of a host pool.
nerdio_get_host_pool_session_timeouts
Free · Read-only
Get a host pool's session timeout settings (idle, disconnected and active session limits).
nerdio_get_host_pool_tags
Free · Read-only
Get the Azure tags a host pool applies.
nerdio_get_host_pool_vm_deployment
Free · Read-only
Get a host pool's virtual machine deployment settings (the VM template: size, image, disk and network).
nerdio_get_host_schedule_configurations
Free · Read-only
Get the schedule configurations of one session host.
nerdio_list_host_pool_assigned_users
Free · Read-only
List the users and groups assigned to a host pool.
nerdio_list_host_pool_hosts
Free · Read-only
List the session host virtual machines of a host pool and their state.
nerdio_list_host_pool_sessions
Free · Read-only
List the user sessions on a host pool's session hosts.
nerdio_list_host_pools
Free · Read-only
List an account's Azure Virtual Desktop host pools: name, subscription and resource group of each, the values the other host-pool tools take.
nerdio_update_host_pool_autoscale_configuration
Pro · Destructive
DESTRUCTIVE.

Desktop images

ToolWhat it does
nerdio_get_desktop_image
Free · Read-only
Get one desktop image's details.
nerdio_get_desktop_image_schedule_configurations
Free · Read-only
Get the schedule configurations of one desktop image.
nerdio_list_desktop_image_change_log
Free · Read-only
List the change log of one desktop image.
nerdio_list_desktop_images
Free · Read-only
List an account's desktop images: name, subscription and resource group of each.

Devices

ToolWhat it does
nerdio_get_device
Free · Read-only
Get one Intune-managed device.
nerdio_get_device_bitlocker_keys
Free · Read-only
Get the BitLocker recovery keys of a device (NMM-PS's help: recoveryKey per drive).
nerdio_get_device_compliance
Free · Read-only
Get a device's Intune compliance state.
nerdio_get_device_hardware
Free · Read-only
Get a device's hardware inventory.
nerdio_get_device_local_admin_password
Free · Read-only
Get the Windows LAPS local administrator password of a device (NMM-PS's help: password and passwordExpirationTime).
nerdio_list_device_app_failures
Free · Read-only
List the app installations that failed on a device.
nerdio_list_device_apps
Free · Read-only
List the apps Intune reports on a device.
nerdio_list_devices
Free · Read-only
List an account's Intune-managed devices.
nerdio_sync_device
Pro · Write
Ask Intune to sync a device now (policy and app refresh).

Users and groups

ToolWhat it does
nerdio_get_group
Free · Read-only
Get one group of an account.
nerdio_get_user
Free · Read-only
Get one user of an account.
nerdio_get_user_mfa_status
Free · Read-only
Get a user's multi-factor authentication status.
nerdio_search_users
Free · Read-only
Search an account's users.

Backup

ToolWhat it does
nerdio_list_protected_items
Free · Read-only
List the items Azure Backup protects in an account.
nerdio_list_recovery_points
Free · Read-only
List the recovery points of one protected item.

Workspaces

ToolWhat it does
nerdio_list_workspace_sessions
Free · Read-only
List the user sessions of one workspace.
nerdio_list_workspaces
Free · Read-only
List an account's Azure Virtual Desktop workspaces.

Directories, variables and FSLogix

ToolWhat it does
nerdio_list_account_directories
Free · Read-only
List the directory (Active Directory) profiles of one account.
nerdio_list_account_environment_variables
Free · Read-only
List the variables of one account for scripted actions.
nerdio_list_account_fslogix_configs
Free · Read-only
List the FSLogix profile configurations of one account.
nerdio_list_directories
Free · Read-only
List the directory (Active Directory) profiles defined at the MSP level.
nerdio_list_environment_variables
Free · Read-only
List the variables defined at the MSP level for scripted actions.

Auto-scale profiles, schedules and scripted actions

ToolWhat it does
nerdio_get_account_autoscale_profile
Free · Read-only
Get one auto-scale profile of an account.
nerdio_get_account_schedule
Free · Read-only
Get one schedule of an account.
nerdio_get_account_schedule_configurations
Free · Read-only
Get the configurations of one schedule of an account.
nerdio_get_account_scripted_action
Free · Read-only
Get one scripted action of an account.
nerdio_get_account_scripted_action_schedule
Free · Read-only
Get the schedule of one scripted action of an account.
nerdio_get_autoscale_profile
Free · Read-only
Get one auto-scale profile defined at the MSP level.
nerdio_get_schedule
Free · Read-only
Get one schedule defined at the MSP level.
nerdio_get_schedule_configurations
Free · Read-only
Get the configurations of one MSP-level schedule.
nerdio_get_scripted_action
Free · Read-only
Get one scripted action defined at the MSP level.
nerdio_get_scripted_action_schedule
Free · Read-only
Get the schedule of one MSP-level scripted action.
nerdio_list_account_autoscale_profiles
Free · Read-only
List the auto-scale profiles of one account.
nerdio_list_account_schedules
Free · Read-only
List the schedules of one account.
nerdio_list_account_scripted_actions
Free · Read-only
List the scripted actions of one account.
nerdio_list_autoscale_profiles
Free · Read-only
List the auto-scale profiles defined at the MSP level.
nerdio_list_schedules
Free · Read-only
List the schedules defined at the MSP level.
nerdio_list_scripted_actions
Free · Read-only
List the scripted actions defined at the MSP level.

Invoices and cost estimates

ToolWhat it does
nerdio_get_cost_estimate
Free · Read-only
Get one saved cost estimate.
nerdio_get_invoice
Free · Read-only
Get one Nerdio invoice.
nerdio_list_cost_estimates
Free · Read-only
List the saved Azure Virtual Desktop cost estimates.
nerdio_list_invoices
Free · Read-only
List the install's Nerdio invoices, optionally for a period.