編輯

共用方式為


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

Start-SPORestrictedAccessForSitesInsights
     -ActionsBlockedByPolicy
     [-Force <SwitchParameter>]

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

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Force

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-RACProtectedSites

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

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online