AnsweredAssumed Answered

Python API Call For Arcgis Online

Question asked by NRavi@isdh.IN.gov_ISDH on May 25, 2020
Latest reply on May 28, 2020 by NRavi@isdh.IN.gov_ISDH



       I have an enterprise arcgis pro account. I am trying to create a map with few layers inside them using python. I followed this link: Is it possible to use the ArcGIS Online Python API if my organziation is using a federated login? 

I was able to pass my enterprise_link, username, password and client id as a parameter. But is still navigating me to 

"Enter code obtained on signing in using SAML" and i have to manually copy paste the OAuth2 Approval Code. Is there anyway to override this? 

I am trying to create an automated script in python. 

Looking forward to your help.

Thanks and Regards