Table of Contents

Start-PnPEnterpriseAppInsightsReport

SYNOPSIS

Required Permissions

  • Microsoft SharePoint API: Sites.ReadWrite.All

Generates a report for the App Insights data.

SYNTAX

Start-PnPEnterpriseAppInsightsReport [-ReportPeriodInDays <1, 7, 14, 28>] 

DESCRIPTION

This cmdlet will start the generation of a new App Insights report. It can generate a report over the past day (default), 7 days, 14 days, or 28 days. It will overwrite any existing report for the same period. The report will be generated in the background. Use Get-PnPEnterpriseAppInsightsReport to check the status of the report.

EXAMPLES

EXAMPLE 1

Start-PnPEnterpriseAppInsightsReport

A report will be generated which covers the past day.

EXAMPLE 2

Start-PnPEnterpriseAppInsightsReport 28

A report will be generated which covers the past 28 days.

PARAMETERS

-ReportPeriodInDays

The amount of days to cover in the report. Valid values are 1, 7, 14, and 28. Default is 1.

Type: short
Parameter Sets: (All)

Required: True
Position: Named
Default value: 1
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

Microsoft 365 Patterns and Practices Generate App Insights Reports