Share via


Start-SPORestrictedAccessForSitesInsights

This cmdlet enables administrator to trigger the build of a new restricted access control insights report for the data from last 28 days.

Syntax

Default (Default)

Start-SPORestrictedAccessForSitesInsights
    [-RACProtectedSites]
    [-ActionsBlockedByPolicy]
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

After this cmdlet is executed, the restricted access control insights report generation request is initiated for the requested report subtype. |

Examples

EXAMPLE 1

Start-SPORestrictedAccessForSitesInsights -RACProtectedSites

Example 1 generates the restricted access control report which contains insights about the list of sites protected with the policy.

EXAMPLE 2

Start-SPORestrictedAccessForSitesInsights -ActionsBlockedByPolicy

Example 2 generates the restricted access control report which contains insights about access denials by the policy.

Parameters

-ActionsBlockedByPolicy

Applicable: SharePoint Online

It is an optional parameter, and it specifies the type of report generation to be triggered.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

Applicable: SharePoint Online

It is an optional parameter which is used to bypass confirmation prompts and execute the command without interruptions.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RACProtectedSites

Applicable: SharePoint Online

It is an optional parameter, and it specifies the type of report generation to be triggered.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:System.Management.Automation.SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object