Re: [GAM] Extract information of policies or settings applied to OUs in G Workspace

27 views
Skip to first unread message

Ross Scroggs

unread,
Nov 19, 2025, 4:30:25 PM (2 days ago) Nov 19
to google-ap...@googlegroups.com
What is: gam version

Ross
----
Ross Scroggs



On Nov 19, 2025, at 12:17 PM, 'Mariano Schesak' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hi Ross,

Thank you for the information.

I've tried for example using this one:  gam redirect csv ./StaffPolicies.csv print policies ou "^/Staff"

But it's not working. I have as an example one OU named Finance in my Google Workspace Admin side.

I would like to know which policies are applied to that OU.

Therefore I tried to use this one: gam redirect csv ./StaffPolicies.csv print policies ou "^/Finance"  

But it is returning saying redirect is not a valid argument for gam.

Thank you.

On Tuesday, November 18, 2025 at 12:48:17 PM UTC+13 Ross Scroggs wrote:
On Nov 17, 2025, at 3:45 PM, 'Mariano Schesak' via GAM for Google Workspace <google-ap...@googlegroups.com> wrote:

Hi team,

I would like to extract information about some OUs I have in Google Workspace to know which settings or policies are being applied to those particular OUs.

Is there any way to run a GAM or Gam Advance command to extract this information if I know the names of the OUs to know what policies and settings are being applied?

Thank you for the help.



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/ff625ea8-e573-4bc3-b2c6-ffc7ebb39fcen%40googlegroups.com.


--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/2022202b-3743-4eb2-a666-0219e69d6704n%40googlegroups.com.

Mariano Schesak

unread,
Nov 19, 2025, 8:28:04 PM (2 days ago) Nov 19
to GAM for Google Workspace
Hi Ross,

The version is 7.28.09

Thank you.

Mariano Schesak

unread,
Nov 19, 2025, 8:29:35 PM (2 days ago) Nov 19
to GAM for Google Workspace
I've tried the command again after upgrading GAM a few minutes ago, and now I am getting this:

Policy Print Failed: Request had insufficient authentication scopes., There are no scopes authorized for the API(s): Cloud Identity API - Policy (supports readonly) or Cloud Identity API - Policy

When I try to run this command I am getting the above.

gam redirect csv ./StaffPolicies.csv print policies ou "^/NameofmyOU"

Thank you again.





On Thursday, November 20, 2025 at 10:30:25 AM UTC+13 Ross Scroggs wrote:

Ross Scroggs

unread,
Nov 19, 2025, 8:56:10 PM (2 days ago) Nov 19
to google-ap...@googlegroups.com
Send me a private Meet/Zoom invitation now and I'll help.

Ross
----
Ross Scroggs


Ross Scroggs

unread,
Nov 19, 2025, 8:59:08 PM (2 days ago) Nov 19
to google-ap...@googlegroups.com
Do: gam ouath create
Is this scope set: Cloud Identity API - Policy (supports readonly)

Ross
----
Ross Scroggs


Ross Scroggs

unread,
Nov 20, 2025, 10:58:11 AM (14 hours ago) Nov 20
to google-ap...@googlegroups.com
Do you still need assistance? Send me a private Meet/Zoom invitation if you do.

Ross
----
Ross Scroggs


Reply all
Reply to author
Forward
0 new messages