Hello,
I'm playing around with the ArcGIS API for Python and have hit a snag. My issue is the same that is mentioned in this
previous thread, but unfortunately I've tried the recommendations listed in there and have been unable to resolve the issue. Some notes:
I'm able to log in and run other modules successfully. For example, 'gis.properties.availableCredits' returns successfully, but 'gis.admin.Credits.is_enabled' does not.
any help would be greatly appreciated!
***UPDATE***
I was able to resolve the issue thanks to David J. Vitale. Created a new user account linked to a personal email, then made that user account an administrator. This way, I could log in without using OAuth2.0/without having to log in using my org's enterprise log-in system. When I did this, the gis.admin module appeared and worked without any issue.
I understand that the gis.admin module is only available if you are an admin. The API seems to be unable to detect that I'm an admin when signing in using OAuth2.0. Any chance of getting that sorted?
Thanks
Solved! Go to Solution.
***UPDATE***
I was able to resolve the issue thanks to David J. Vitale. Created a new user account linked to a personal email, then made that user account an administrator. This way, I could log in without using OAuth2.0/without having to log in using my org's enterprise log-in system. When I did this, the gis.admin module appeared and worked without any issue.
I understand that the gis.admin module is only available if you are an admin. The API seems to be unable to detect that I'm an admin when signing in using OAuth2.0. Any chance of getting that sorted?
Thanks
Reina Murray, can you either convert this question to a discussion, or take your update out of your original question and make it a comment so the thread can have something marked as the answer to close it out. As it stands now, your question will remain an open question.
***UPDATE***
I was able to resolve the issue thanks to David J. Vitale. Created a new user account linked to a personal email, then made that user account an administrator. This way, I could log in without using OAuth2.0/without having to log in using my org's enterprise log-in system. When I did this, the gis.admin module appeared and worked without any issue.
I understand that the gis.admin module is only available if you are an admin. The API seems to be unable to detect that I'm an admin when signing in using OAuth2.0. Any chance of getting that sorted?
Thanks