---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences"
tags: ["Occurrences"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeSchedule/scheduledActions/{scheduledActionName}/occurrences`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

List Occurrence resources by ScheduledAction

## Path parameters

- `subscriptionId` string, uuid, required
- `resourceGroupName` string, required
- `scheduledActionName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Azure operation completed successfully.

- OccurrenceListResult: The response of a Occurrence list operation.
  - `value` Occurrence[], required: The Occurrence items on this page
    - `id` string, arm-id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    - `name` string: The name of the resource
    - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
      - `createdBy` string: The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
      - `createdAt` string, date-time: The timestamp of resource creation (UTC).
      - `lastModifiedBy` string: The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
      - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)
    - `properties` OccurrenceProperties: Properties for an occurrence
      - `scheduledTime` string, date-time, required: The time the occurrence is scheduled for. This value can be changed by calling the delay API
      - `resultSummary` OccurrenceResultSummary, required: The summarized provisioning result of an occurrence
        - `total` integer, required: The total number of resources that the occurrence was supposed to act on.
        - `statuses` ResourceResultSummary[], required: The summarized status of the resources.
          - `code` string, required: The error code for those resources. In case of success, code is populated with Success.
          - `count` integer, required: The number of resources that the code applies to.
          - `errorDetails` AzureCoreFoundationsError: The error object.
            - `code` string, required: One of a server-defined set of error codes.
            - `message` string, required: A human-readable representation of the error.
            - `target` string: The target of the error.
            - `details` AzureCoreFoundationsError[]: An array of details about specific errors that led to this reported error.
            - `innererror` AzureCoreFoundationsInnerError: An object containing more specific information about the error. As per Azure REST API guidelines - https://aka.ms/AzureRestApiGuidelines#handling-errors.
              - …
      - `provisioningState` 'Created' | 'Rescheduling' | 'Scheduled' | 'Succeeded' | 'Failed' | 'Cancelling' | 'Canceled': The state the occurrence is at a given time
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-07-13** (2024-06-01-preview) `8b8d415ed109`: 1 info
  - endpoint added
- **2026-07-13** (2024-06-01-preview) `c339f70fe742`: 1 info
  - endpoint added
- **2024-07-23** (2024-06-01-preview) `94c7db475bf9`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/azure/apis/computeschedule-microsoft-computeschedule/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ComputeSchedule/scheduledActions/:scheduledActionName/occurrences/get.md)

---

[API](https://skmtc.dev/azure/apis/computeschedule-microsoft-computeschedule.md) - [All operations](https://skmtc.dev/azure/apis/computeschedule-microsoft-computeschedule/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/computeschedule-microsoft-computeschedule/revisions/8b8d415ed109?raw)
