Dec 30 2018 01:02 AM
Dear Support team,
i need a help in sharepoint online to take the list of sharepoint custom created groups and default groups (site collection) and their members through script.
and how to take report of checked out files in the site collection (doc library, modified dates, checked out by fields)
and the site collection permisions (users and groups) - all the types of permisions that every user has down to the document level
Regards
Naresh K
Dec 31 2018 12:42 PM
Dec 31 2018 12:57 PM
Hi Ali Salih,
Thank you for checking this. and i have found the some script in google
To get the Custom and Default groups
$siteURL = "https://Domain.sharepoint.com/teams/XXX"
$x = Get-SPOSiteGroup -Site $siteURL
foreach ($y in $x)
{
Write-Host $y.Title -ForegroundColor "Yellow"
Get-SPOSiteGroup -Site $siteURL -Group $y.Title | Select-Object -ExpandProperty Users
Write-Host
}
and its taking all custom and default group members, but its not possible to get the data for document level permissions. and check-in and check out files i am checking in Audit logs (Protection.office.com).
Thanks
Naresh K
Dec 31 2018 12:59 PM
Jan 03 2019 07:14 AM