# Export Cloudpc Usage Scheduled

### Description

Collects Windows 365 Cloud PC remote connection usage for the last full day and writes it to an Azure Table. The runbook creates the table if needed and merges records per tenant and timestamp.

### Location

Organization → General → Export Cloudpc Usage (Scheduled)

**Full Runbook name**

rjgit-org\_general\_export-cloudpc-usage\_scheduled

### Permissions

#### Application permissions

* **Type**: Microsoft Graph
  * CloudPC.Read.All

#### Permission notes

Azure IaaS: `Contributor` role on the Azure Storage Account used for storing CloudPC usage data

### Parameters

#### Table

Name of the Azure Table Storage table to write to.

| Property      | Value          |
| ------------- | -------------- |
| Required      | false          |
| Default Value | CloudPCUsageV2 |
| Type          | String         |

#### ResourceGroupName

Name of the Azure Resource Group containing the Storage Account.

| Property      | Value  |
| ------------- | ------ |
| Required      | true   |
| Default Value |        |
| Type          | String |

#### StorageAccountName

Name of the Azure Storage Account hosting the table.

| Property      | Value  |
| ------------- | ------ |
| Required      | true   |
| Default Value |        |
| Type          | String |

#### Days

Number of days to look back when collecting usage data.

| Property      | Value |
| ------------- | ----- |
| Required      | false |
| Default Value | 2     |
| Type          | Int32 |

[Back to Runbook Reference overview](/automation/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/automation/runbooks/runbook-references/org/general/export-cloudpc-usage_scheduled.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
