Skip to content

Commit 756bb53

Browse files
Merge pull request #29954 from microsoftgraph/main
Auto Publish – main to live - 2026-11-19 00:30 UTC
2 parents 1647aed + 8400c73 commit 756bb53

130 files changed

Lines changed: 6711 additions & 66 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎api-reference/beta/api/agentidentity-get.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ The following example shows a request.
6969
}
7070
-->
7171
``` http
72-
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agentIdentity
72+
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agentIdentity?$select=id,displayName,createdDateTime,createdByAppId,agentIdentityBlueprintId,accountEnabled,disabledByMicrosoftStatus,servicePrincipalType,tags,lifecyclePolicyComplianceState,lifecyclePolicyComplianceStateReason,lifecyclePolicyComplianceStateLastModifiedDateTime,lifecyclePolicyNonComplianceDisablementDateTime
7373
```
7474

7575
# [JavaScript](#tab/javascript)
@@ -101,6 +101,10 @@ Content-Type: application/json
101101
"agentIdentityBlueprintId": "00001111-aaaa-2222-bbbb-3333cccc4444",
102102
"accountEnabled": true,
103103
"disabledByMicrosoftStatus": null,
104+
"lifecyclePolicyComplianceState": "warning",
105+
"lifecyclePolicyComplianceStateReason": "Approaching policy renewal deadline",
106+
"lifecyclePolicyComplianceStateLastModifiedDateTime": "2026-04-01T10:30:00Z",
107+
"lifecyclePolicyNonComplianceDisablementDateTime": null,
104108
"servicePrincipalType": "ServiceIdentity",
105109
"tags": []
106110
}

‎api-reference/beta/api/agentidentity-list.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ If successful, this method returns a `200 OK` response code and collection of [a
6666
}-->
6767

6868
```msgraph-interactive
69-
GET https://graph.microsoft.com/beta/servicePrincipals/microsoft.graph.agentIdentity
69+
GET https://graph.microsoft.com/beta/servicePrincipals/microsoft.graph.agentIdentity?$select=id,displayName,createdDateTime,createdByAppId,agentIdentityBlueprintId,accountEnabled,disabledByMicrosoftStatus,servicePrincipalType,tags,lifecyclePolicyComplianceState,lifecyclePolicyComplianceStateReason,lifecyclePolicyComplianceStateLastModifiedDateTime,lifecyclePolicyNonComplianceDisablementDateTime
7070
```
7171

7272
# [C#](#tab/csharp)
@@ -126,6 +126,10 @@ Content-type: application/json
126126
"agentIdentityBlueprintId": "00001111-aaaa-2222-bbbb-3333cccc4444",
127127
"accountEnabled": true,
128128
"disabledByMicrosoftStatus": null,
129+
"lifecyclePolicyComplianceState": "warning",
130+
"lifecyclePolicyComplianceStateReason": "Approaching policy renewal deadline",
131+
"lifecyclePolicyComplianceStateLastModifiedDateTime": "2026-04-01T10:30:00Z",
132+
"lifecyclePolicyNonComplianceDisablementDateTime": null,
129133
"servicePrincipalType": "ServiceIdentity",
130134
"tags": []
131135
}

‎api-reference/beta/api/agentidentityblueprintprincipal-get.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The following example shows a request.
7676
}
7777
-->
7878
``` http
79-
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agentIdentityBlueprintPrincipal
79+
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/microsoft.graph.agentIdentityBlueprintPrincipal?$select=id,appId,createdDateTime,accountEnabled,appDisplayName,appOwnerOrganizationId,appRoleAssignmentRequired,appRoles,disabledByMicrosoftStatus,info,oauth2PermissionScopes,servicePrincipalType,tags,verifiedPublisher,lifecyclePolicyComplianceState,lifecyclePolicyComplianceStateReason,lifecyclePolicyComplianceStateLastModifiedDateTime,lifecyclePolicyNonComplianceDisablementDateTime
8080
```
8181

8282
# [JavaScript](#tab/javascript)
@@ -110,6 +110,10 @@ Content-Type: application/json
110110
"appRoleAssignmentRequired": false,
111111
"appRoles": [],
112112
"disabledByMicrosoftStatus": null,
113+
"lifecyclePolicyComplianceState": "warning",
114+
"lifecyclePolicyComplianceStateReason": "Approaching policy renewal deadline",
115+
"lifecyclePolicyComplianceStateLastModifiedDateTime": "2026-04-01T10:30:00Z",
116+
"lifecyclePolicyNonComplianceDisablementDateTime": null,
113117
"info": {
114118
"termsOfServiceUrl": null,
115119
"supportUrl": null,
@@ -123,4 +127,3 @@ Content-Type: application/json
123127
"verifiedPublisher": null
124128
}
125129
```
126-

‎api-reference/beta/api/agentidentityblueprintprincipal-list.md‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ If successful, this method returns a `200 OK` response code and collection of [a
6363
}-->
6464

6565
```msgraph-interactive
66-
GET https://graph.microsoft.com/beta/servicePrincipals/microsoft.graph.agentIdentityBlueprintPrincipal
66+
GET https://graph.microsoft.com/beta/servicePrincipals/microsoft.graph.agentIdentityBlueprintPrincipal?$select=id,appId,createdDateTime,createdByAppId,accountEnabled,appDisplayName,appOwnerOrganizationId,appRoleAssignmentRequired,appRoles,disabledByMicrosoftStatus,info,oauth2PermissionScopes,servicePrincipalType,tags,verifiedPublisher,lifecyclePolicyComplianceState,lifecyclePolicyComplianceStateReason,lifecyclePolicyComplianceStateLastModifiedDateTime,lifecyclePolicyNonComplianceDisablementDateTime
6767
```
6868

6969
# [C#](#tab/csharp)
@@ -126,6 +126,10 @@ Content-type: application/json
126126
"appRoleAssignmentRequired": false,
127127
"appRoles": [],
128128
"disabledByMicrosoftStatus": null,
129+
"lifecyclePolicyComplianceState": "warning",
130+
"lifecyclePolicyComplianceStateReason": "Approaching policy renewal deadline",
131+
"lifecyclePolicyComplianceStateLastModifiedDateTime": "2026-04-01T10:30:00Z",
132+
"lifecyclePolicyNonComplianceDisablementDateTime": null,
129133
"info": {
130134
"termsOfServiceUrl": null,
131135
"supportUrl": null,
@@ -142,4 +146,3 @@ Content-type: application/json
142146
}
143147
```
144148

145-

‎api-reference/beta/api/backuprestoreroot-post-onedriveforbusinessrestoresessions.md‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,12 @@ You can specify the following properties when you create a **oneDriveForBusiness
5656

5757
|Property|Type|Description|
5858
|:---|:---|:---|
59-
|@microsoft.graph.conflictBehavior|String|The conflict resolution behavior when restoring each granular restore artifact in a session. The possible values are: `fail` (default), `replace`, `rename`. Only supported for granular restore sessions. Optional.|
59+
|@microsoft.graph.conflictBehavior|String|An optional instance annotation that specifies conflict handling for every artifact in a granular restore session. The possible values are: `fail` (default), `replace`, and `rename`. With `fail`, a conflicting artifact fails to restore; `replace` overwrites the existing item; `rename` preserves the existing item and gives the restored item a nonconflicting name. If you supply this annotation for a non-granular session, the request returns `400 Bad Request`.|
6060
|driveRestoreArtifacts|[driveRestoreArtifact](../resources/driverestoreartifact.md) collection|A collection of [driveRestoreArtifact](../resources/driverestoreartifact.md) objects. Required.|
6161
|granularDriveRestoreArtifacts|[granularDriveRestoreArtifact](../resources/granulardriverestoreartifact.md) collection| A collection of [granularDriveRestoreArtifact](../resources/granulardriverestoreartifact.md) objects. Required.|
62-
|policyId|String|The identifier of the protection policy that scopes the restore session. The service validates that the referenced protection units belong to this policy. Optional.|
62+
|policyId|String|The identifier of the protection policy that scopes the restore session. The service validates that the referenced protection units belong to this policy. Optional. Inherited from [restoreSessionBase](../resources/restoresessionbase.md).|
63+
64+
To restore granular artifacts to their original location, set **destinationType** to `inPlace` on each artifact. A single session can't mix destination types.
6365

6466
## Response
6567

@@ -298,13 +300,9 @@ Content-Type: application/json
298300
}
299301
```
300302

301-
### Example 3: Create a granular restore session with in-place restore and conflict behavior
302-
303-
The following example shows how to create a granular restore session that restores artifacts in place with a specified conflict resolution behavior. The `@microsoft.graph.conflictBehavior` annotation applies uniformly to all artifacts in the session. If not specified, the default behavior is `fail`.
304-
305-
> **Note:** The `@microsoft.graph.conflictBehavior` annotation is only supported for granular restore sessions. If specified on a non-granular session, a `400 Bad Request` is returned.
303+
### Example 3: Create an in-place granular restore session
306304

307-
> Mixed destination type within a single granular restore session is not supported.
305+
The following example shows how to restore OneDrive for Business artifacts to their original location and replace existing same-name items.
308306

309307
#### Request
310308

‎api-reference/beta/api/backuprestoreroot-post-sharepointrestoresessions.md‎

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,13 @@ You can specify the following properties when you create a **sharePointRestoreSe
5353

5454
|Property|Type|Description|
5555
|:---|:---|:---|
56-
|@microsoft.graph.conflictBehavior|String|The conflict resolution behavior when restoring each granular restore artifact in a session. The possible values are: `fail` (default), `replace`, `rename`. Only supported for granular restore sessions. Optional.|
56+
|@microsoft.graph.conflictBehavior|String|An optional instance annotation that specifies conflict handling for every artifact in a granular restore session. The possible values are: `fail` (default), `replace`, and `rename`. With `fail`, a conflicting artifact fails to restore; `replace` overwrites the existing item; `rename` preserves the existing item and gives the restored item a nonconflicting name. If you supply this annotation for a non-granular session, the request returns `400 Bad Request`.|
5757
|granularSiteRestoreArtifacts|[granularSiteRestoreArtifact](../resources/granularsiterestoreartifact.md) collection|A collection of [granularSiteRestoreArtifact](../resources/granularsiterestoreartifact.md) objects. Required.|
58-
|policyId|String|The identifier of the protection policy that scopes the restore session. The service validates that the referenced protection units belong to this policy. Optional.|
58+
|policyId|String|The identifier of the protection policy that scopes the restore session. The service validates that the referenced protection units belong to this policy. Optional. Inherited from [restoreSessionBase](../resources/restoresessionbase.md).|
5959
|siteRestoreArtifacts|[siteRestoreArtifact](../resources/siterestoreartifact.md) collection|A collection of [siteRestoreArtifact](../resources/siterestoreartifact.md) objects. Required.|
6060

61+
To restore granular artifacts to their original location, set **destinationType** to `inPlace` on each artifact. A single session can't mix destination types.
62+
6163
## Response
6264

6365
If successful, this method returns a `201 Created` response code and a [sharePointRestoreSession](../resources/sharepointrestoresession.md) object in the response body.
@@ -297,13 +299,9 @@ Content-Type: application/json
297299
}
298300
```
299301

300-
### Example 3: Create a granular restore session with in-place restore and conflict behavior
301-
302-
The following example shows how to create a granular restore session that restores artifacts in place with a specified conflict resolution behavior. The `@microsoft.graph.conflictBehavior` annotation applies uniformly to all artifacts in the session. If not specified, the default behavior is `fail`.
303-
304-
> **Note:** The `@microsoft.graph.conflictBehavior` annotation is only supported for granular restore sessions. If specified on a non-granular session, a `400 Bad Request` is returned.
302+
### Example 3: Create an in-place granular restore session
305303

306-
> Mixed destination type within a single granular restore session is not supported.
304+
The following example shows how to restore SharePoint artifacts to their original location and rename restored items if same-name items already exist.
307305

308306
#### Request
309307
The following example shows a request.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: "cloudPcUserProfileSnapshot: restore"
3+
description: "Restore a user settings persistence profile from the bound snapshot as a long-running operation."
4+
author: "weicc"
5+
ms.date: 09/07/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "cloud-pc"
8+
doc_type: apiPageType
9+
---
10+
11+
# cloudPcUserProfileSnapshot: restore
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Restore a user settings persistence profile from the bound snapshot as a long-running operation. This action is bound to a single [cloudPcUserProfileSnapshot](../resources/cloudpcuserprofilesnapshot.md) entity, identified by its **id** in the URL. This API overwrites the current profile data with the snapshot's data. Restore can happen within the same policy or across different policies.
18+
19+
> [!CAUTION]
20+
> This overwrites the current profile data with the snapshot's data.
21+
22+
## Permissions
23+
24+
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).
25+
26+
<!-- { "blockType": "permissions", "name": "cloudpcuserprofilesnapshot_restore_permissions" } -->
27+
[!INCLUDE [permissions-table](../includes/permissions/cloudpcuserprofilesnapshot-restore-permissions.md)]
28+
29+
## HTTP request
30+
31+
<!-- { "blockType": "ignored" } -->
32+
``` http
33+
POST /deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy-id}/assignments/{cloudPcProvisioningPolicyAssignment-id}/userSettingsPersistenceDetail/userProfileSnapshots/{cloudPcUserProfileSnapshot-id}/restore
34+
```
35+
36+
## Request headers
37+
38+
|Name|Description|
39+
|:---|:---|
40+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
41+
|Content-Type|application/json. Required.|
42+
43+
## Request body
44+
45+
In the request body, supply a JSON representation of the parameters.
46+
47+
|Parameter|Type|Description|
48+
|:---|:---|:---|
49+
|targetAssignmentId|String|Required. Indicates the unique identifier of the target assignment to restore the profile into. The restore can target a different assignment than the original. Not nullable.|
50+
51+
## Response
52+
53+
If successful, this action returns a `202 Accepted` response code. It doesn't return anything in the response body.
54+
55+
## Examples
56+
57+
### Request
58+
59+
The following example restores the selected snapshot to a different assignment.
60+
61+
<!-- { "blockType": "request", "name": "restore_cloudpcuserprofilesnapshot" } -->
62+
``` http
63+
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/b0c2d35f-3385-46c8-a6f5-6c3dfad7708b/assignments/64ff06de-9c00-4a5a-98b5-7f5abe26bfd9/userSettingsPersistenceDetail/userProfileSnapshots/a1b2c3d4-e5f6-7890-abcd-ef1234567890/restore
64+
Content-Type: application/json
65+
66+
{
67+
"targetAssignmentId": "e9d4eb36-7056-4161-93a4-2d6f8d20d6c0"
68+
}
69+
```
70+
71+
### Response
72+
73+
The following example shows the response.
74+
75+
<!-- { "blockType": "response", "name": "restore_cloudpcuserprofilesnapshot" } -->
76+
``` http
77+
HTTP/1.1 202 Accepted
78+
```
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
---
2+
title: "cloudPCUserSettingsPersistenceDetail: bulkCreateUserProfileSnapshot"
3+
description: "Trigger a manual snapshot for selected user settings persistence profiles as a long-running operation."
4+
author: "weicc"
5+
ms.date: 09/07/2026
6+
ms.localizationpriority: medium
7+
ms.subservice: "cloud-pc"
8+
doc_type: apiPageType
9+
---
10+
11+
# cloudPCUserSettingsPersistenceDetail: bulkCreateUserProfileSnapshot
12+
13+
Namespace: microsoft.graph
14+
15+
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
16+
17+
Trigger a manual snapshot for selected user settings persistence profiles as a long-running operation. This action is bound to the [cloudPCUserSettingsPersistenceDetail](../resources/cloudpcusersettingspersistencedetail.md) entity. The created snapshots have **snapshotType** set to `manual`.
18+
19+
## Permissions
20+
21+
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).
22+
23+
<!-- { "blockType": "permissions", "name": "cloudpcusersettingspersistencedetail_bulkcreateuserprofilesnapshot_permissions" } -->
24+
[!INCLUDE [permissions-table](../includes/permissions/cloudpcusersettingspersistencedetail-bulkcreateuserprofilesnapshot-permissions.md)]
25+
26+
## HTTP request
27+
28+
<!-- { "blockType": "ignored" } -->
29+
``` http
30+
POST /deviceManagement/virtualEndpoint/provisioningPolicies/{cloudPcProvisioningPolicy-id}/assignments/{cloudPcProvisioningPolicyAssignment-id}/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot
31+
```
32+
33+
## Request headers
34+
35+
|Name|Description|
36+
|:---|:---|
37+
|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).|
38+
|Content-Type|application/json. Required.|
39+
40+
## Request body
41+
42+
In the request body, supply a JSON representation of the parameters.
43+
44+
|Parameter|Type|Description|
45+
|:---|:---|:---|
46+
|cloudProfileIds|String collection|Required. Indicates the list of unique identifiers for the user settings persistence profiles to take snapshots for. The collection must contain at least one and at most 50 items. If the collection is empty or contains more than 50 items, the API responds with `400 Bad Request` and error code `invalidCloudProfileIdCount`. Not nullable.|
47+
48+
## Response
49+
50+
If successful, this action returns a `202 Accepted` response code and a [cloudPcUserProfileSnapshotCreateBulkActionResult](../resources/cloudpcuserprofilesnapshotcreatebulkactionresult.md) object in the response body, derived from [cloudPcUserProfileBulkActionResult](../resources/cloudpcuserprofilebulkactionresult.md).
51+
52+
Represents the result of the **bulkCreateUserProfileSnapshot** action. Failed items are cloud profile IDs from the **cloudProfileIds** request parameter. The inherited **totalCount** and **failedCount** properties count cloud profile IDs.
53+
54+
If the collection is empty or contains more than 50 items, the API responds with `400 Bad Request` and error code `invalidCloudProfileIdCount`.
55+
56+
## Examples
57+
58+
### Request
59+
60+
The following example requests snapshots for two profiles.
61+
62+
<!-- { "blockType": "request", "name": "bulkcreate_cloudpcuserprofilesnapshot" } -->
63+
``` http
64+
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/b0c2d35f-3385-46c8-a6f5-6c3dfad7708b/assignments/64ff06de-9c00-4a5a-98b5-7f5abe26bfd9/userSettingsPersistenceDetail/bulkCreateUserProfileSnapshot
65+
Content-Type: application/json
66+
67+
{
68+
"cloudProfileIds": [
69+
"8fd04a0b-ed49-46c0-a62d-e7980d829058",
70+
"95d04a0b-ed49-46c0-a62d-e7980d829058"
71+
]
72+
}
73+
```
74+
75+
### Response
76+
77+
The following response indicates that one profile was rejected during input validation.
78+
79+
<!-- { "blockType": "response", "name": "bulkcreate_cloudpcuserprofilesnapshot", "@odata.type": "microsoft.graph.cloudPcUserProfileSnapshotCreateBulkActionResult" } -->
80+
``` http
81+
HTTP/1.1 202 Accepted
82+
Content-Type: application/json
83+
84+
{
85+
"@odata.type": "#microsoft.graph.cloudPcUserProfileSnapshotCreateBulkActionResult",
86+
"totalCount": 2,
87+
"failedCount": 1,
88+
"failedCloudProfileIds": [
89+
"95d04a0b-ed49-46c0-a62d-e7980d829058"
90+
]
91+
}
92+
```

0 commit comments

Comments
 (0)