Existing

Import

post

Creates an Azure Virtual Desktop Workspace from an existing Workspace.

Body

To import an existing AVD Workspace

siteIdinteger · int32Optional

Site ID in which to create the specified Azure Virtual Desktop Workspace. If the parameter is omitted, the Licensing Server site ID will be used.

providerIdinteger · int32Required

The Provider ID of the Azure Virtual Desktop Provider.

azureIdstring | nullableRequired

Azure ID of existing Workspace.

Responses
201

Created

application/json; api-version=1.0
post
POST /api/AVD/Workspace/Existing HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 44

{
  "siteId": 1,
  "providerId": 1,
  "azureId": "text"
}
{
  "id": 1,
  "adminCreate": "text",
  "adminLastMod": "text",
  "timeCreate": "2025-08-22T23:55:15.016Z",
  "timeLastMod": "2025-08-22T23:55:15.016Z",
  "providerId": 1,
  "name": "text",
  "enabled": true,
  "friendlyName": "text",
  "description": "text",
  "resourceGroup": "text",
  "location": "text",
  "azureId": "text"
}

Was this helpful?