| title | cloudPCUserSettingsPersistenceDetail: retrieveUserSettingsPersistenceProfiles |
|---|---|
| description | Retrieve the user storage list for Cloud PC user settings persistence under the selected Cloud PC policy assignment. |
| author | AshleyYangSZ |
| ms.localizationpriority | medium |
| ms.subservice | cloud-pc |
| doc_type | apiPageType |
| ms.date | 10/20/2025 |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Retrieve the user storage list for Cloud PC user settings persistence under the selected Cloud PC policy assignment.
[!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]
GET /deviceManagement/virtualEndpoint/provisioningPolicies/{id}/assignments/{assignment_id}/cloudPCUserSettingsPersistence/retrieveUserSettingsPersistenceProfiles(configurationId='{value}')In the request URL, provide the following function parameters with values.
| Parameter | Type | Description |
|---|---|---|
| configurationId | String | The unique identifier for the selected Cloud PC user's settings persistence. |
| Name | Description |
|---|---|
| Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
If successful, this method returns a 200 OK response code and a collection of cloudPCUserSettingsPersistenceProfile objects in the response body.
The following example shows a request to retrieve the user storage list for the specific user settings persistence of a Cloud PC assignment.
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/bed92b3e-4b42-4be5-af0d-ebb2d96c432f/assignments/e9d4eb36-7056-4161-93a4-2d6f8d20d6c0/cloudPCUserSettingsPersistence/retrieveUserSettingsPersistenceProfiles(configurationId='64ff06de-9c00-4a5a-98b5-7f5abe26bfd9')The following example shows the response.
HTTP/1.1 200 OK
{
"@odata.type": "https://graph.microsoft.com/beta/$metadata#retrieveUserSettingsPersistenceProfiles",
"value": [
{
"profileId": "8fd04a0b-ed49-46c0-a62d-e7980d829058",
"userPrincipalName": "json@contoso.com",
"profileSizeInGB": 4,
"lastProfileAttachedDateTime": "2020-06-03T12:43:32Z",
"status": "connected"
},
{
"profileId": "95d04a0b-ed49-46c0-a62d-e7980d829058",
"userPrincipalName": "json@contoso.com",
"profileSizeInGB": 4,
"lastProfileAttachedDateTime": null,
"status": "notConnected"
},
{
"profileId": "12d04a0b-ed49-46c0-a62d-e7980d829058",
"userPrincipalName": "connie@contoso.com",
"profileSizeInGB": 4,
"lastProfileAttachedDateTime": "2020-11-03T12:43:32Z",
"status": "deleting"
}
]
}