FastTrack/scripts/Get-FullOwnerReport/README.md

3.2 KiB

Microsoft FastTrack Open Source - Get-FullOwnerReport

Usage

This script looks for and reports all users and groups that have full control access for all sites and subsites in a user's tenant

Run

  1. Copy the script file "Get-FullOwnerReport.ps1" to a folder and open a PowerShell command window to that folder

  2. Execute the script using:

.\Get-FullOwnerReport.ps1 -rootSite "https://myTenant.sharepoint.com/" -outputPath "c:\users\me\documents"

(You may be prompted to install the nuget provider and several other libraries. This is expected so the dependencies can be auto-installed.)

  1. Review the produced csv file
Option Description Default
rootSite The SharePoint Online root site url required
outputPath The file path that the user wishes to contain the final report required

External Dependencies

SharePointPnPPowerShellOnline PowerShell Module

Applies To

  • SharePoint Online

Author

Author Original Publish Date
Nicholas Switzer, Microsoft May 22, 2018

Issues

Please report any issues you find to the issues list.

Support Statement

The scripts, samples, and tools made available through the FastTrack Open Source initiative are provided as-is. These resources are developed in partnership with the community and do not represent official Microsoft software. As such, support is not available through premier or other official support channels. If you find an issue or have questions please reach out through the issues list and we'll do our best to assist, but there is no support SLA associated with these tools.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

Privacy information can be found at https://privacy.microsoft.com/en-us/

Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.