AnsweredAssumed Answered

Connecting to Non-Federated IWA enabled ArcGIS Server with Python API

Question asked by dobeirnesac on Feb 8, 2018
Latest reply on Apr 26, 2018 by Juliano.Kersting_TPS

Hi,

 

I'm trying to connect to a 10.2.2 ArcGIS Server that has web tier authentication enabled. We have IWA/NTLM set on IIS. This is a non-federated server. I'm trying to use this example: Working with different authentication schemes | ArcGIS for Developers 

 

When I execute it with my server URL I get an error: "UnboundLocalError: local variable 'resp' referenced before assignment". Fails at line 1047 of the "portal.py" package. Attached is a screenshot of my "conda list" command. According to this blog post I should be able to do this: Turbocharge your Python scripts with ArcGIS API for Python v1.3 | ArcGIS Blog 

 

I'm trying to make requests with python to an IWA server. Any other recommendations would be appreciated. Thanks!

Attachments

Outcomes