| title | cloudPCUserSettingsPersistenceDetail: retrieveUserSettingsPersistenceProfileUsage |
|---|---|
| description | Retrieve the usage of Cloud PC user settings persistence in 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 usage of Cloud PC user settings persistence in 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/retrieveUserSettingsPersistenceProfileUsage(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 cloudPCUserSettingsPersistenceUsageResult in the response body.
The following example shows a request to retrieve the specific user settings persistence usage for a Cloud PC policy assignment.
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioningPolicies/bed92b3e-4b42-4be5-af0d-ebb2d96c432f/assignments/e9d4eb36-7056-4161-93a4-2d6f8d20d6c0/cloudPCUserSettingsPersistence/retrieveUserSettingsPersistenceProfileUsage(configurationId='64ff06de-9c00-4a5a-98b5-7f5abe26bfd9')The following example shows the response.
HTTP/1.1 200 OK
{
"@odata.context": "https://graph.microsoft.com/beta/$metadata#retrieveUserSettingsPersistenceProfileUsage",
"totalAllocatedStorageInGB": 1200,
"remainingAvailableStorageInGB": 100,
"usedStorageInGB": 1100
}