Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
I'm trying to get shared drive ACLs for all drives.
I can get all shared drives with Get-GSDrive -UseDomainAdminAccess but there isn't any support for ACL unless you already know a user that is the member of the shared drive.
Get-GSDrive -UseDomainAdminAccess | foreach { $_ | Get-GSDrivePermission} will result in 404 responses (file not found) but if I do Get-GSDrive -user USERNAME | foreach { $_ | Get-GSDrivePermission} it works correctly.
There is no method to pull ACL unless you already know a user who is part of the shared drive.
I'm trying to get shared drive ACLs for all drives.
I can get all shared drives with Get-GSDrive -UseDomainAdminAccess but there isn't any support for ACL unless you already know a user that is the member of the shared drive.
Get-GSDrive -UseDomainAdminAccess | foreach { $_ | Get-GSDrivePermission}
will result in 404 responses (file not found) but if I doGet-GSDrive -user USERNAME | foreach { $_ | Get-GSDrivePermission}
it works correctly.There is no method to pull ACL unless you already know a user who is part of the shared drive.