Reports - List

Get the AppComplianceAutomation report list for the tenant.

GET https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports?api-version=2022-11-16-preview
GET https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports?api-version=2022-11-16-preview&$skipToken={$skipToken}&$top={$top}&$select={$select}&offerGuid={offerGuid}&reportCreatorTenantId={reportCreatorTenantId}

URI Parameters

Name In Required Type Description
api-version
query True

string

The API version to use for this operation.

$select
query

string

OData Select statement. Limits the properties on each entry to just those requested, e.g. ?$select=reportName,id.

$skipToken
query

string

Skip over when retrieving results.

$top
query

integer

int32

Number of elements to return when retrieving results.

offerGuid
query

string

The offerGuid which mapping to the reports.

reportCreatorTenantId
query

string

The tenant id of the report creator.

Responses

Name Type Description
200 OK

ReportResourceList

Success.

Other Status Codes

ErrorResponse

Error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Reports_List

Sample Request

GET https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports?api-version=2022-11-16-preview&$skipToken=1&$top=100&offerGuid=00000000-0000-0000-0000-000000000000&reportCreatorTenantId=00000000-0000-0000-0000-000000000000

Sample Response

{
  "value": [
    {
      "id": "/provider/Microsfot.AppComplianceAutomation/reports/testReportName",
      "name": "testReportName",
      "type": "Microsfot.AppComplianceAutomation/reports",
      "properties": {
        "id": "00000000-0000-0000-0000-000000000000",
        "status": "Active",
        "tenantId": "00000000-0000-0000-0000-000000000000",
        "reportName": "testReportName",
        "offerGuid": "00000000-0000-0000-0000-000000000000",
        "timeZone": "GMT Standard Time",
        "triggerTime": "2022-03-02T05:17:23.922Z",
        "nextTriggerTime": "2022-03-02T05:17:23.922Z",
        "lastTriggerTime": "2022-03-02T05:17:23.922Z",
        "subscriptions": [
          "00000000-0000-0000-0000-000000000000"
        ],
        "resources": [
          {
            "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/myResourceGroup/providers/Microsoft.SignalRService/SignalR/mySignalRService",
            "tags": {
              "key1": "value1"
            }
          }
        ],
        "complianceStatus": {
          "m365": {
            "passedCount": 0,
            "failedCount": 0,
            "manualCount": 0
          }
        },
        "provisioningState": "Succeeded"
      },
      "systemData": {
        "createdBy": "00000000-0000-0000-0000-000000000000",
        "createdByType": "User",
        "createdAt": "2021-05-14T22:34:55.4499903Z",
        "lastModifiedBy": "00000000-0000-0000-0000-000000000000",
        "lastModifiedByType": "User",
        "lastModifiedAt": "2021-05-14T22:34:55.4499903Z"
      }
    }
  ],
  "nextLink": "https://management.azure.com/providers/Microsoft.AppComplianceAutomation/reports?api-version=2022-11-16-preview&skipToken=1&top=100"
}

Definitions

Name Description
createdByType

The type of identity that created the resource.

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

OverviewStatus

The overview of the compliance result for one report.

provisioningState

Azure lifecycle management

ReportComplianceStatus

A list which includes all the compliance result for one report.

ReportProperties

Report's properties.

ReportResource

A class represent an AppComplianceAutomation report resource.

ReportResourceList

Object that includes an array of resources and a possible link for next set.

ReportStatus

Report status.

ResourceMetadata

Single resource Id's metadata.

systemData

Metadata pertaining to creation and last modification of the resource.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

OverviewStatus

The overview of the compliance result for one report.

Name Type Description
failedCount

integer

The count of all failed full automation control.

manualCount

integer

The count of all manual control.

passedCount

integer

The count of all passed full automation control.

provisioningState

Azure lifecycle management

Name Type Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

ReportComplianceStatus

A list which includes all the compliance result for one report.

Name Type Description
m365

OverviewStatus

The Microsoft 365 certification name.

ReportProperties

Report's properties.

Name Type Description
complianceStatus

ReportComplianceStatus

Report compliance status.

id

string

Report id in database.

lastTriggerTime

string

Report last collection trigger time.

nextTriggerTime

string

Report next collection trigger time.

offerGuid

string

Report offer Guid.

provisioningState

provisioningState

Azure lifecycle management

reportName

string

Report name.

resources

ResourceMetadata[]

List of resource data.

status

ReportStatus

Report status.

subscriptions

string[]

List of subscription Ids.

tenantId

string

Report's tenant id.

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".

triggerTime

string

Report collection trigger time.

ReportResource

A class represent an AppComplianceAutomation report resource.

Name Type Description
id

string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

The name of the resource

properties

ReportProperties

Report property.

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

ReportResourceList

Object that includes an array of resources and a possible link for next set.

Name Type Description
nextLink

string

The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

value

ReportResource[]

List of the reports

ReportStatus

Report status.

Name Type Description
Active

string

Disabled

string

Failed

string

ResourceMetadata

Single resource Id's metadata.

Name Type Description
resourceId

string

Resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".

resourceKind

string

Resource kind.

resourceName

string

Resource name.

resourceType

string

Resource type.

tags

object

Resource's tag type.

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.