I'm trying to install a domain app from the G-suite marketplace while logged in using an account with relevant permission (super admin), but I get 403 right after accepting the permissions.
I clicked on "Domain install" -> pressed continue -> accept permissions and terms of use -> 403 forbidden error
There's not much on the error page, just 403 forbidden:
What am I missing?
Apparently, if you are logged in with multiple accounts (also possible to be signed in to the chrome, and logged in using another account), Google will randomly choose one to try and install the app, even if it has no permissions. So going to incognito mode, logging in using only the account with the relevant permissions worked!
The annoying part is - Google will let you press the Domain install (If you are logged in using any account with enough permissions), but it will not necessarily use that account to install the app, but will show the 403 forbidden page...
This made it much harder to detect the problem...
I couldn't find anything online about this issue, so I published it here and maybe it will help someone in the future :)