"There are no scopes authorized for the Directory API" error after upgrading from GAM 5.21 to 7.0.3

241 views
Skip to first unread message

Rick Sparrow

unread,
Sep 23, 2024, 5:55:26 PM9/23/24
to GAM for Google Workspace
Hi there, I didn't see my first post about this show up in the group, so I'm reposting...

I have an existing install of GAM 5.2.1 for Windows that's working OK. Today I went to upgrade it to the latest 7.0.3 and, while I didn't get any errors during the upgrade steps, the new version isn't working as expected. I'm getting "ERROR: There are no scopes authorized for the Directory API".

1) Made a backup of my existing GAM 5.21 install. I had it in c:\gam, so I made a copy of that as c:\gam.backup. That backup copy of GAM 5.21 is still working properly as far as I can tell, thankfully!

2) Downloaded the GAM 7.0.3 MSI and installed OK.

3) Ran gam-setup.bat with admin privs. Specified that this was an upgrade. Got the message "GAM installation and setup complete!"

4) When I try some basic commands, such as gam info user <my email address>  I get: "ERROR: There are no scopes authorized for the Directory API"

5) If I switch back to c:\gam.backup and run gam info user <my email address>, it works as expected. So again, GAM 5.21 working as expected but GAM 7.0.3 is not.

I have upgraded GAM in the past before, although it has been a while. I don't think I've had to touch the existing Google projects. Is that the issue here?

Thanks for any help you can provide.
Rick

This email is confidential and privileged and may contain personal information. If you have received this in error or are not the intended recipient, any distribution or copying of this message is strictly prohibited. If you have received this email in error please notify us immediately by returning the email to the sender and deleting this email.

Ross Scroggs

unread,
Sep 24, 2024, 10:39:53 AM9/24/24
to google-ap...@googlegroups.com
Rick,

Send me a Meet/Zoom invitation if you still need help.

Ross
----
Ross Scroggs



--
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 on the web visit https://groups.google.com/d/msgid/google-apps-manager/4d0f4d83-008a-47ca-9adf-80806c959298n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages