Skip to content

Commit 72948ac

Browse files
authored
Add retryUpload API and deprecate reupload API (#28345)
* Add retryUpload API and deprecate reupload API
1 parent a8d8df1 commit 72948ac

8 files changed

Lines changed: 133 additions & 6 deletions

File tree

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: "cloudPcDeviceImage: retryUpload"
3+
description: "Retry the upload of a cloudPcDeviceImage object that previously failed."
4+
author: "11fps"
5+
ms.localizationpriority: medium
6+
ms.subservice: "cloud-pc"
7+
doc_type: apiPageType
8+
ms.date: 02/25/2026
9+
---
10+
11+
# cloudPcDeviceImage: retryUpload
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Retry the upload of a [cloudPcDeviceImage](../resources/cloudpcdeviceimage.md) object that previously failed.
18+
19+
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
20+
21+
## Permissions
22+
23+
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](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference).
24+
25+
<!-- { "blockType": "permissions", "name": "cloudpcdeviceimage_retryupload" } -->
26+
[!INCLUDE [permissions-table](../includes/permissions/cloudpcdeviceimage-retryupload-permissions.md)]
27+
28+
## HTTP request
29+
30+
<!-- {
31+
"blockType": "ignored"
32+
}
33+
-->
34+
35+
``` http
36+
POST /deviceManagement/virtualEndpoint/deviceImages/{cloudPcDeviceImageId}/retryUpload
37+
```
38+
39+
## Request headers
40+
41+
|Name|Description|
42+
|:---|:---|
43+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
44+
45+
## Request body
46+
47+
Don't supply a request body for this method.
48+
49+
## Response
50+
51+
If successful, this method returns a `204 No Content` response code.
52+
53+
## Examples
54+
55+
### Request
56+
The following example shows a request.
57+
<!-- {
58+
"blockType": "request",
59+
"name": "retryupload_deviceimages_from_virtualendpoint"
60+
}
61+
-->
62+
63+
``` http
64+
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceImages/594e2046-2a4f-43d3-829c-be36bb984f11/retryUpload
65+
```
66+
67+
### Response
68+
The following example shows the response.
69+
<!-- {
70+
"blockType": "response",
71+
"truncated": true
72+
}
73+
-->
74+
75+
``` http
76+
HTTP/1.1 204 No Content
77+
```

api-reference/beta/api/cloudpcdeviceimage-reupload.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
---
2-
title: "cloudPcDeviceImage: reupload"
2+
title: "cloudPcDeviceImage: reupload (deprecated)"
33
description: "Reupload a cloudPcDeviceImage object."
44
author: "RuiHou105"
55
ms.localizationpriority: medium
66
ms.subservice: "cloud-pc"
77
doc_type: apiPageType
8-
ms.date: 04/04/2024
8+
ms.date: 02/25/2026
99
---
1010

11-
# cloudPcDeviceImage: reupload
11+
# cloudPcDeviceImage: reupload (deprecated)
1212

1313
Namespace: microsoft.graph
1414

1515
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1616

1717
Reupload a [cloudPcDeviceImage](../resources/cloudpcdeviceimage.md) object that failed to upload.
1818

19+
> [!CAUTION]
20+
> This API is deprecated and will stop returning data on June 25, 2026. Going forward, use the [cloudPcDeviceImage: retryUpload](cloudpcdeviceimage-retryupload.md) API instead.
21+
1922
[!INCLUDE [national-cloud-support](../../includes/global-us.md)]
2023

2124
## Permissions
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
description: "Automatically generated file. DO NOT MODIFY"
3+
ms.topic: include
4+
ms.localizationpriority: medium
5+
---
6+
7+
|Permission type|Least privileged permissions|Higher privileged permissions|
8+
|:---|:---|:---|
9+
|Delegated (work or school account)|CloudPC.ReadWrite.All|Not available.|
10+
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
11+
|Application|CloudPC.ReadWrite.All|Not available.|

api-reference/beta/resources/cloudpc-api-overview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,15 @@ Microsoft Graph controls access to resources via permissions. As a developer, yo
3333
|:---|:---|:---|
3434
|List, get, create, update, delete, or assign provisioning policies.|[cloudPcProvisioningPolicy](../resources/cloudpcprovisioningpolicy.md)|[Provisioning overview](/windows-365/enterprise/provisioning)|
3535
|Manage Cloud PCs including reprovision, end Cloud PC grace period, bulk reprovision, and resize Cloud PCs.|[cloudPC](../resources/cloudpc.md)|[Cloud PCs lifecycle](/windows-365/enterprise/lifecycle)|
36-
|List, get, create, delete, get source images, and reupload Cloud PC OS images.|[cloudPCDeviceImage](../resources/cloudpcdeviceimage.md)|[Device images overview](/windows-365/enterprise/device-images)|
36+
|List, get, create, delete, get source images, and retry the upload* of Cloud PC operating system images.|[cloudPCDeviceImage](../resources/cloudpcdeviceimage.md)|[Device images overview](/windows-365/enterprise/device-images)|
3737
|List and get gallery images.|[cloudPcGalleryImage](../resources/cloudpcgalleryimage.md)|[Gallery images overview](/windows-365/enterprise/device-images)|
3838
|List, get, create, update delete, update AD domain password, and run health checks for Azure network connections.|[cloudPcOnPremisesConnection](../resources/cloudpconpremisesconnection.md)|[On-premises network connection overview](/windows-365/enterprise/on-premises-network-connections)|
3939
|List audit events for Cloud PCs, get a specific audit event, and get audit activity types.|[cloudPcAuditEvent](../resources/cloudpcauditevent.md)|[Get Cloud PC audit logs](/windows-365/enterprise/get-cloud-pc-audit-logs-using-powershell)|
4040
|List, get, create, update, delete or assign user settings.|[cloudPcUserSetting](../resources/cloudpcusersetting.md)|[User settings overview](../resources/cloudpcusersetting.md)|
4141
|Set up rules to alert issues on the Microsoft Endpoint Manager admin center with provisioning Cloud PCs, uploading Cloud PC images, and checking Azure network connections.|[alertRecord](devicemanagement-alertrecord.md), [alertRule](devicemanagement-alertrule.md) | [Alert monitoring API](devicemanagement-monitoring.md) |
4242

43+
> **Note**: * The [cloudPcDeviceImage: reupload](/graph/api/cloudpcdeviceimage-reupload?view=graph-rest-beta&preserve-view=true) API is deprecated and will stop returning data on June 25, 2026. Going forward, use the [cloudPcDeviceImage: retryUpload](/graph/api/cloudpcdeviceimage-retryupload?view=graph-rest-beta&preserve-view=true) API instead.
44+
4345
## Next steps
4446
- Check out the [overview for Windows 365 Cloud PC on Microsoft Graph](/graph/cloudpc-concept-overview).
4547
- Try out the Windows 365 Cloud PCs APIs by using the [Microsoft Graph Explorer](https://developer.microsoft.com/graph/graph-explorer).

api-reference/beta/resources/cloudpcdeviceimage.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Represents the image resource on a Cloud PC.
2525
|[Create](../api/virtualendpoint-post-deviceimages.md)|[cloudPcDeviceImage](../resources/cloudpcdeviceimage.md)|Create a new [cloudPcDeviceImage](../resources/cloudpcdeviceimage.md) object.|
2626
|[Delete](../api/cloudpcdeviceimage-delete.md)|None|Delete a [cloudPcDeviceImage](../resources/cloudpcdeviceimage.md) object.|
2727
|[Get source images](../api/cloudpcdeviceimage-getsourceimages.md)|[cloudPcSourceDeviceImage](../resources/cloudpcsourcedeviceimage.md) collection|Get [cloudPcSourceDeviceImage](../resources/cloudpcsourcedeviceimage.md) objects.|
28-
|[Reupload](../api/cloudpcdeviceimage-reupload.md)|None|Reupload a [cloudPcDeviceImage](../resources/cloudpcdeviceimage.md) object that failed to upload.|
28+
|[Retry upload](../api/cloudpcdeviceimage-retryupload.md)|None|Retry the upload of a [cloudPcDeviceImage](../resources/cloudpcdeviceimage.md) object that previously failed.|
29+
|[Reupload (deprecated)](../api/cloudpcdeviceimage-reupload.md)|None|Reupload a [cloudPcDeviceImage](../resources/cloudpcdeviceimage.md) object that failed to upload. This API is deprecated and will stop returning data on June 25, 2026. Going forward, use the [cloudPcDeviceImage: retryUpload](../api/cloudpcdeviceimage-retryupload.md) API instead.|
2930

3031
## Properties
3132

api-reference/beta/toc/device-and-app-management/toc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,9 @@ items:
282282
href: ../../api/cloudpcdeviceimage-delete.md
283283
- name: Get source images
284284
href: ../../api/cloudpcdeviceimage-getsourceimages.md
285-
- name: Reupload
285+
- name: Retry upload
286+
href: ../../api/cloudpcdeviceimage-retryupload.md
287+
- name: Reupload (deprecated)
286288
href: ../../api/cloudpcdeviceimage-reupload.md
287289
- name: Cloud PC external partner setting (deprecated)
288290
items:

changelog/Microsoft.CloudManagedDesktop.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,32 @@
132132
"WorkloadArea": "Device and app management",
133133
"SubArea": "Cloud PC"
134134
},
135+
{
136+
"ChangeList": [
137+
{
138+
"Id": "f2bf3e59-6634-4ed4-8b0d-5dcd3f9a9fe9",
139+
"ApiChange": "Method",
140+
"ChangedApiName": "retryUpload",
141+
"ChangeType": "Addition",
142+
"Description": "Added the [retryUpload](https://learn.microsoft.com/en-us/graph/api/cloudpcdeviceimage-retryupload?view=graph-rest-beta) method to the [cloudPcDeviceImage](https://learn.microsoft.com/en-us/graph/api/resources/cloudpcdeviceimage?view=graph-rest-beta) resource.",
143+
"Target": "cloudPcDeviceImage"
144+
},
145+
{
146+
"Id": "f2bf3e59-6634-4ed4-8b0d-5dcd3f9a9fe9",
147+
"ApiChange": "Method",
148+
"ChangedApiName": "reupload",
149+
"ChangeType": "Deprecation",
150+
"Description": "Deprecated the [reupload](https://learn.microsoft.com/en-us/graph/api/cloudpcdeviceimage-reupload?view=graph-rest-beta) method on the [cloudPcDeviceImage](https://learn.microsoft.com/en-us/graph/api/resources/cloudpcdeviceimage?view=graph-rest-beta) resource. Going forward, use the [retryUpload](https://learn.microsoft.com/en-us/graph/api/cloudpcdeviceimage-retryupload?view=graph-rest-beta) API instead.",
151+
"Target": "cloudPcDeviceImage"
152+
}
153+
],
154+
"Id": "f2bf3e59-6634-4ed4-8b0d-5dcd3f9a9fe9",
155+
"Cloud": "Prod",
156+
"Version": "beta",
157+
"CreatedDateTime": "2026-02-25T00:00:00Z",
158+
"WorkloadArea": "Devices and app management",
159+
"SubArea": "Cloud PC"
160+
},
135161
{
136162
"ChangeList": [
137163
{

concepts/whats-new-overview.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,11 @@ Added the [ownerlessGroupPolicy](/graph/api/resources/ownerlessgrouppolicy?view=
121121

122122
Introduced the Entra Backup and Recovery APIs to enable IT administrators to back up and restore Microsoft Entra ID tenant data. You can view snapshots and start preview jobs for analysis before running the recovery jobs. You can also monitor the status of recovery processes including successes and failures. For more information, see [Overview of Microsoft Entra Backup and Recovery APIs](/graph/api/resources/entrarecoveryservices-backup-recovery-overview).
123123

124+
### Device and app management | Cloud PC
125+
126+
- [Retry the upload](/graph/api/cloudpcdeviceimage-retryupload?view=graph-rest-beta&preserve-view=true) of a [cloudPcDeviceImage](/graph/api/resources/cloudpcdeviceimage?view=graph-rest-beta&preserve-view=true) object that previously failed.
127+
- Deprecated the [reupload](/graph/api/cloudpcdeviceimage-reupload?view=graph-rest-beta&preserve-view=true) method in favor of [retryUpload](/graph/api/cloudpcdeviceimage-retryupload?view=graph-rest-beta&preserve-view=true).
128+
124129
### Identity and access | Governance
125130

126131
- Added **privilegeLevel** as a property on [accessPackageCatalog](/graph/api/resources/accesspackagecatalog?view=graph-rest-beta&preserve-view=true). This value represents the privilege level of the access package catalogs.

0 commit comments

Comments
 (0)