|
| 1 | +--- |
| 2 | +external help file: sharepointonline.xml |
| 3 | +Module Name: Microsoft.Online.SharePoint.PowerShell |
| 4 | +online version: https://learn.microsoft.com/powershell/module/sharepoint-online/get-spodataaccessgovernanceinsight |
| 5 | +applicable: SharePoint Online |
| 6 | +title: Get-SPODataAccessGovernanceInsight |
| 7 | +schema: 2.0.0 |
| 8 | +author: pvrk |
| 9 | +ms.author: pullabhk |
| 10 | +manager: |
| 11 | +ms.reviewer: |
| 12 | +--- |
| 13 | + |
| 14 | +# Get-SPODataAccessGovernanceInsight |
| 15 | + |
| 16 | +## SYNOPSIS |
| 17 | + |
| 18 | +Lists various 'Data Access Governance' (DAG) reports in SharePoint admin center. |
| 19 | + |
| 20 | +## SYNTAX |
| 21 | + |
| 22 | +### GetAllReportsParameterSet |
| 23 | +``` |
| 24 | +Get-SPODataAccessGovernanceInsight -ReportEntity <ReportEntityEnum> [-WorkLoad <WorkloadEnum>] [-ReportType <ReportTypeEnum>] [<CommonParameters>] |
| 25 | +``` |
| 26 | + |
| 27 | +### GetReportParameterSet |
| 28 | +``` |
| 29 | +Get-SPODataAccessGovernanceInsight -ReportID <Guid> [<CommonParameters>] |
| 30 | +``` |
| 31 | + |
| 32 | +## DESCRIPTION |
| 33 | + |
| 34 | +This cmdlet fetches details of various DAG reports available in SharePoint admin center. |
| 35 | + |
| 36 | +## EXAMPLES |
| 37 | + |
| 38 | +### Example 1 |
| 39 | + |
| 40 | +```powershell |
| 41 | +Get-SPODataAccessGovernanceInsight -ReportEntity EveryoneExceptExternalUsersForItems |
| 42 | +``` |
| 43 | + |
| 44 | +The above cmdlet fetches all DAG reports about 'Everyone except external users' attached to an item i.e., to a file, folder, or list in the last 28 days. The output consists of important parameters such as Status, ReportID, number of sites in the report and other user provided values during report generation. |
| 45 | + |
| 46 | +## PARAMETERS |
| 47 | + |
| 48 | +### -ReportEntity |
| 49 | + |
| 50 | +Specifies the entity that could cause oversharing and hence tracked by these reports. |
| 51 | + |
| 52 | +```yaml |
| 53 | +Type: ReportEntityEnum |
| 54 | +Parameter Sets: GetAllReportsParameterSet |
| 55 | +Aliases: |
| 56 | +Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers |
| 57 | + |
| 58 | +Required: True |
| 59 | +Position: Named |
| 60 | +Default value: None |
| 61 | +Accept pipeline input: False |
| 62 | +Accept wildcard characters: False |
| 63 | +``` |
| 64 | +
|
| 65 | +### -ReportID |
| 66 | +
|
| 67 | +Specifies the ID of the particular report to be fetched. |
| 68 | +
|
| 69 | +```yaml |
| 70 | +Type: Guid |
| 71 | +Parameter Sets: GetReportParameterSet |
| 72 | +Aliases: |
| 73 | + |
| 74 | +Required: True |
| 75 | +Position: Named |
| 76 | +Default value: None |
| 77 | +Accept pipeline input: False |
| 78 | +Accept wildcard characters: False |
| 79 | +``` |
| 80 | +
|
| 81 | +### -ReportType |
| 82 | +
|
| 83 | +Specifies the time period of data of the reports to be fetched. A 'Snapshot' report will have the latest data as of the report generation time. A 'RecentActivity' report will be based on data in the last 28 days. |
| 84 | +
|
| 85 | +```yaml |
| 86 | +Type: ReportTypeEnum |
| 87 | +Parameter Sets: GetAllReportsParameterSet |
| 88 | +Aliases: |
| 89 | +Accepted values: Snapshot, RecentActivity |
| 90 | + |
| 91 | +Required: False |
| 92 | +Position: Named |
| 93 | +Default value: None |
| 94 | +Accept pipeline input: False |
| 95 | +Accept wildcard characters: False |
| 96 | +``` |
| 97 | +
|
| 98 | +### -WorkLoad |
| 99 | +
|
| 100 | +Specifies the datasource of the reports to be fetched i.e., reports for SharePoint sites or for OneDrive accounts. |
| 101 | +
|
| 102 | +```yaml |
| 103 | +Type: WorkloadEnum |
| 104 | +Parameter Sets: GetAllReportsParameterSet |
| 105 | +Aliases: |
| 106 | +Accepted values: SharePoint, OneDriveForBusiness |
| 107 | + |
| 108 | +Required: False |
| 109 | +Position: Named |
| 110 | +Default value: None |
| 111 | +Accept pipeline input: False |
| 112 | +Accept wildcard characters: False |
| 113 | +``` |
| 114 | +
|
| 115 | +### CommonParameters |
| 116 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). |
| 117 | +
|
| 118 | +## INPUTS |
| 119 | +
|
| 120 | +### None |
| 121 | +
|
| 122 | +## OUTPUTS |
| 123 | +
|
| 124 | +### System.Object |
| 125 | +
|
| 126 | +## NOTES |
| 127 | +
|
| 128 | +## RELATED LINKS |
| 129 | +
|
| 130 | +[Start-SPODataAccessGovernanceInsight](./Start-SPODataAccessGovernanceInsight.md) |
| 131 | +
|
| 132 | +[Export-SPODataAccessGovernanceInsight](./Export-SPODataAccessGovernanceInsight.md) |
| 133 | +
|
| 134 | +[Remove-SPODataAccessGovernanceInsight](./Remove-SPODataAccessGovernanceInsight.md) |
| 135 | +
|
| 136 | +[Start-SPOSiteReview](./Start-SPOSiteReview.md) |
| 137 | +
|
| 138 | +[Get-SPOSiteReview](./Get-SPOSiteReview.md) |
0 commit comments