Microsoft Azure Desktop API

The Desktop API from Microsoft Azure, for desktop.

GitHub OpenAPI

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName} Get a virtual desktop in an application group · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What are the details of the desktop published in my AVD application group?”
“How do I see a desktop's friendly name?”
Tell an agent
Show desktop {desktopName} in application group {applicationGroupName}.
Get the friendly name of desktop {desktopName} in {applicationGroupName}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName} Update a virtual desktop · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I rename the desktop users see in Azure Virtual Desktop?”
“Can I change tags on a desktop in an application group?”
Tell an agent
Update desktop {desktopName} in {applicationGroupName} with {properties}.
Set tags {tags} on desktop {desktopName} of application group {applicationGroupName}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops List desktops in an application group · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which desktops are published in my AVD application group?”
“Can I page through desktops in an application group?”
Tell an agent
List desktops in application group {applicationGroupName}.
List desktops of {applicationGroupName}, {pageSize} per page.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-desktop-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-desktop-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2023-11-01-preview
  title: Microsoft Azure Virtualization API Client Desktop API
servers:
- url: https://management.azure.com
tags:
- name: Desktop
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops/{desktopName}
  : get:
      tags:
      - Desktop
      operationId: microsoftAzureDesktopsGet
      description: Get a desktop.
      x-ms-examples:
        Desktop_Get:
          $ref: ./examples/Desktop_Get.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/ApplicationGroupNameParameter'
      - $ref: '#/components/parameters/DesktopNameParameter'
      responses:
        '200':
          description: Successfully retrieved desktop.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Desktop'
        default:
          description: Automation error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    patch:
      tags:
      - Desktop
      operationId: microsoftAzureDesktopsUpdate
      description: Update a desktop.
      x-ms-examples:
        Desktop_Update:
          $ref: ./examples/Desktop_Update.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/ApplicationGroupNameParameter'
      - $ref: '#/components/parameters/DesktopNameParameter'
      responses:
        '200':
          description: Successfully updated desktop.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Desktop'
        default:
          description: Automation error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DesktopPatch'
        description: Object containing Desktop definitions.
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DesktopVirtualization/applicationGroups/{applicationGroupName}/desktops
  : get:
      tags:
      - Desktop
      operationId: microsoftAzureDesktopsList
      description: List desktops.
      x-ms-examples:
        Desktop_List:
          $ref: ./examples/Desktop_List.json
      parameters:
      - $ref: ../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/ApplicationGroupNameParameter'
      - name: pageSize
        in: query
        required: false
        description: Number of items per page.
        schema:
          type: integer
          format: int32
      - name: isDescending
        in: query
        required: false
        description: Indicates whether the collection is descending.
        schema:
          type: boolean
      - name: initialSkip
        in: query
        required: false
        description: Initial number of items to skip.
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: Successfully retrieved desktops in application group.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DesktopList'
        default:
          description: Automation error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    DesktopPatch:
      type: object
      description: Desktop properties that can be patched.
      properties:
        tags:
          type: object
          additionalProperties:
            type: string
          description: tags to be updated
        properties:
          description: Detailed properties for Desktop
          x-ms-client-flatten: true
          $ref: '#/components/schemas/DesktopPatchProperties'
    DesktopProperties:
      description: Schema for Desktop properties.
      type: object
      properties:
        objectId:
          type: string
          description: ObjectId of Desktop. (internal use)
          readOnly: true
        description:
          type: string
          description: Description of Desktop.
        friendlyName:
          type: string
          description: Friendly name of Desktop.
        iconHash:
          readOnly: true
          type: string
          description: Hash of the icon.
        iconContent:
          readOnly: true
          type: string
          format: byte
          description: The icon a 64 bit string as a byte array.
    CloudErrorProperties:
      description: Cloud error object properties.
      type: object
      properties:
        code:
          description: Error code
          type: string
        message:
          description: Error message indicating why the operation failed.
          type: string
    CloudError:
      description: Cloud error object.
      type: object
      x-ms-external: true
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorProperties'
    DesktopPatchProperties:
      description: Desktop properties that can be patched.
      type: object
      properties:
        description:
          type: string
          description: Description of Desktop.
        friendlyName:
          type: string
          description: Friendly name of Desktop.
    DesktopList:
      type: object
      title: DesktopList
      description: List of Desktop definitions.
      properties:
        value:
          type: array
          description: List of Desktop definitions.
          items:
            $ref: '#/components/schemas/Desktop'
        nextLink:
          type: string
          readOnly: true
          description: Link to the next page of results.
    Desktop:
      description: Schema for Desktop properties.
      type: object
      allOf:
      - $ref: ../../../../../common-types/resource-management/v1/types.json#/definitions/Resource
      properties:
        systemData:
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
          description: Metadata pertaining to creation and last modification of the resource.
        properties:
          description: Detailed properties for Desktop
          x-ms-client-flatten: true
          $ref: '#/components/schemas/DesktopProperties'
  parameters:
    ApplicationGroupNameParameter:
      name: applicationGroupName
      in: path
      required: true
      description: The name of the application group
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 64
        minLength: 3
    DesktopNameParameter:
      name: desktopName
      in: path
      required: true
      description: The name of the desktop within the specified desktop group
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 24
        minLength: 3
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow