View Categories

Find all files shared to Gmail accounts and remove them

GAT+ is a Google Workspace audit tool. It provides the Admins with the ability to find and view all the Files in a domain.

As part of the Drive audit, the Admin can find all the files Shared to Gmail accounts and the option to remove those shares.

Find Files accessed by Gmail accounts #

Navigate to GAT+ > Drive > External domains

Apply filter and search for

  • Shared with equal gmail.com

Click on Apply

Result of filter #

The result will give

  • Owner domain – the owned domain or subdomain
  • Shared withgmail.com
    • First share – the first time a file from the particular domain was shared with gmail.com
    • Last share – the last time a file from the particular domain was shared with gmail.com
  • No. of shared files – number of files shared between the domain and gmail.com

In this case, select your domain (owner) and Shared with (gmail.com)

  • Click on the value in No. of shared files (36)

This will lead you to Drive > Files where action for removing the shares can be taken.

Remove the gmail.com shares #

Select all the files from the result

Click on the File operations button > Remove permissions 

  • Select specific files and remove their gmail.com shares only

The Remove permissions button will open a new window where action can be taken.

  • External – Click on the External tab (1)
  • Click on Remove only the following External Shares button (2)
  • In Shares to remove – enter *@gmail.com (3) (wildcard for when many users at the domain have been granted access)

  • Any additional shares can be removed

Once ready, click on the Remove permissions button (4).

Result #

As a result of this, the shares to gmail.com accounts for the selected Files will be removed.

Navigate to GAT+ > Configuration > Admin Log > Permission removal/Permission change

Click on the “eye” icon under Additional information.

This will show you the details of the change done, and the removed gmail.com accounts from the selected files.

  • General – will show details for the Remove permissions job
  • Changes preview – will show the details for the files and the gmail.com users that were removed
  • Revert changes – will revert and restore the removed permissions

AI in Education

Insights from Industry Leaders

Join GAT Labs and industry leaders to explore how AI is improving learning, enhancing teaching, and securing the future of education. Don’t miss these exclusive sessions!

Session 2

April 2

13:00 EDT | 10:00 PDT | 17:00 GMT

This website uses cookies to ensure you get the best experience on our website