---
title: "PATCH /providers/Microsoft.AppComplianceAutomation/reports/{reportName}"
method: PATCH
path: "/providers/Microsoft.AppComplianceAutomation/reports/{reportName}"
tags: ["AppComplianceAutomation"]
---

# PATCH /providers/Microsoft.AppComplianceAutomation/reports/{reportName}

`PATCH /providers/Microsoft.AppComplianceAutomation/reports/{reportName}`

Update an exiting AppComplianceAutomation report.

## Path parameters

- `reportName` string, required

## Parameters

- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Request body

- ReportResourcePatch — A class represent a AppComplianceAutomation report resource update properties.
  - `properties` ReportPatchProperties — Patch Report's properties.
    - `triggerTime` string, date-time — Report collection trigger time.
    - `timeZone` string — Report collection trigger time's time zone, the available list can be obtained by executing "Get-TimeZone -ListAvailable" in PowerShell. An example of valid timezone id is "Pacific Standard Time".
    - `resources` ResourceMetadata[] — List of resource data.
      - `resourceId` string, required — Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".
      - `resourceType` string — Resource type. e.g. "Microsoft.Compute/virtualMachines"
      - `resourceKind` string — Resource kind.
      - `resourceOrigin` 'Azure' | 'AWS' | 'GCP' — Resource Origin.
      - `accountId` string — Account Id. For example - the AWS account id.
    - `status` 'Active' | 'Failed' | 'Reviewing' | 'Disabled' — Report status.
    - `errors` string[] — List of report error codes.
    - `tenantId` string — Report's tenant id.
    - `offerGuid` string — A list of comma-separated offerGuids indicates a series of offerGuids that map to the report. For example, "00000000-0000-0000-0000-000000000001,00000000-0000-0000-0000-000000000002" and "00000000-0000-0000-0000-000000000003".
    - `nextTriggerTime` string, date-time — Report next collection trigger time.
    - `lastTriggerTime` string, date-time — Report last collection trigger time.
    - `subscriptions` string[] — List of subscription Ids.
    - `complianceStatus` ReportComplianceStatus — A list which includes all the compliance result for one report.
      - `m365` OverviewStatus — The overview of the compliance result for one report.
        - `passedCount` integer — The count of all passed control.
        - `failedCount` integer — The count of all failed control.
        - `manualCount` integer — The count of all manual control.
        - `notApplicableCount` integer — The count of all not applicable control.
        - `pendingCount` integer — The count of all pending for approval control.
    - `storageInfo` StorageInfo — The information of 'bring your own storage' account binding to the report
      - `subscriptionId` string — The subscription id which 'bring your own storage' account belongs to
      - `resourceGroup` string — The resourceGroup which 'bring your own storage' account belongs to
      - `accountName` string — 'bring your own storage' account name
      - `location` string — The region of 'bring your own storage' account
    - `certRecords` CertSyncRecord[] — List of synchronized certification records.
      - `offerGuid` string — The offerGuid which mapping to the reports.
      - `certificationStatus` string — Indicates the status of certification process.
      - `ingestionStatus` string — Indicates the status of compliance process.
      - `controls` ControlSyncRecord[] — The control records list to be synchronized.
        - `controlId` string — The Id of the control. e.g. "Operational_Security_10"
        - `controlStatus` string — Control status synchronized from app compliance.
    - `provisioningState` 'Succeeded' | 'Failed' | 'Canceled' | 'Creating' | 'Deleting' | 'Fixing' | 'Verifying' | 'Updating' — Resource provisioning states.

## Response `200`

Azure operation completed successfully.

- ReportResource — unresolved $ref

## Other responses

- `202` — Resource update request accepted.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/appcomplianceautomation-microsoft-appcomplianceautomation.md) · [All operations](https://skmtc.net/azure/apis/appcomplianceautomation-microsoft-appcomplianceautomation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/appcomplianceautomation-microsoft-appcomplianceautomation/revisions/c05a04032cee/schema)
