mirror of
https://github.com/admindroid-community/powershell-scripts.git
synced 2025-12-17 16:35:19 +00:00
Export Microsoft 365 Group Report
Export Microsoft 365 Group Report
This commit is contained in:
parent
ef957fb61c
commit
3378b5cc3d
@ -1,8 +1,8 @@
|
||||
<#
|
||||
=============================================================================================
|
||||
Name: Microsoft 365 Group Report
|
||||
Description: This script exports Microsoft 365 groups and their membership to CSV
|
||||
Version: 1.0
|
||||
Description: This script exports Microsoft 365 groups and their membership to CSV using Microsoft Graph PowerShell
|
||||
Version: 3.0
|
||||
website: o365reports.com
|
||||
Script by: O365Reports Team
|
||||
For detailed Script execution: https://o365reports.com/2021/02/11/export-microsoft-365-group-report-to-csv-using-powershell
|
||||
@ -182,8 +182,7 @@ Function main()
|
||||
}
|
||||
}
|
||||
Write-Host "Connecting to Microsoft Graph..."
|
||||
$Scopes = @(
|
||||
"Group.Read.All"
|
||||
$Scopes = @("Directory.Read.All"
|
||||
)
|
||||
#Storing credential in script for scheduling purpose/ Passing credential as parameter
|
||||
$Error.Clear()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user