Hello,
I'm looking to get some help configuring GAM for a python and django project.
GAM was used when the original owner set the project up, and because the original owner was the Google Workspace admin account (which is now disabled), I have created a new Workspace admin account and am trying to re-run GAM to update the project.
The account is created, is an admin, and is linked to a Google Cloud Platform project as an owner which has domain-wide delegation enabled. The 400 error indicates the scope request is "
googleapis.com/auth/cloud-platform", but this scope is included in the Security > API Client > Domain-Wide Delegation scopes authorization lists.
I'm running into a problem when I run either "gam create project" or "gam update project", which responds with a 400 error saying that an admin policy is enforced blocking access. I've attached a screenshot of the error screen.
It almost seems like the API Client configuration and the admin workspace account are not linked, but in the Google Cloud console the same admin account is linked as an owner for the API Client project.
Can someone help me figure out what I'm missing?
Any help would be greatly appreciated! Thanks.