| title | cloudPC: getCloudPcLaunchInfo (deprecated) |
|---|---|
| description | Get the cloudPCLaunchInfo for a specific cloudPC that belongs to the current signed-in user. |
| author | andrewku0409 |
| ms.localizationpriority | medium |
| ms.subservice | cloud-pc |
| doc_type | apiPageType |
| ms.date | 04/04/2024 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Caution
This API is deprecated and will stop returning data on October 30, 2026. Going forward, use the retrieveCloudPcLaunchDetail API.
Get the cloudPCLaunchInfo for a specific cloudPC that belongs to the current signed-in user.
[!INCLUDE national-cloud-support]
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
[!INCLUDE permissions-table]
To get the cloudPCLaunchInfo for a specific cloudPC of the specified user (who is the signed-in user) in the organization using delegated permission:
GET /me/cloudPCs/{cloudPCId}/getCloudPcLaunchInfo
GET /users/{userId}/cloudPCs/{id}/getCloudPcLaunchInfoTo get the cloudPCLaunchInfo for a specific cloudPC in the organization using delegated permission (the signed-in user should be the administrator):
GET /deviceManagement/virtualEndpoint/cloudPCs/{cloudPCId}/getCloudPcLaunchInfoCaution
The /deviceManagement/virtualEndpoint/cloudPCs/{cloudPCId}/getCloudPcLaunchInfo endpoint is deprecated and will stop returning data on October 30, 2025.
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this function returns a 200 OK response code and a cloudPcLaunchInfo object in the response body.
GET https://graph.microsoft.com/beta/me/cloudPCs/{cloudPCId}/getCloudPcLaunchInfo
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
HTTP/1.1 200 OK
Content-Type: application/json
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#microsoft.graph.cloudPcLaunchInfo",
"cloudPcId": "a20d556d-85f7-88cc-bb9c-08d9902bb7bb",
"cloudPcLaunchUrl": "https://rdweb-r0.wvdselfhost.microsoft.com/api/arm/weblaunch/tenants/662009bc-7732-4f6f-8726-25883518b33e/resources/662009bc-7732-4f6f-8726-25883518b33e",
"windows365SwitchCompatible":false,
"windows365SwitchNotCompatibleReason":"CPCHardwareNotMeetRequirement"
}