I am trying to implement an ESRI sample python api script to updated a hosted feature layer but I am encountering errors.
The original code can be found at:
I am getting an error about the service already existing in Portal which is what others have encountered as per the following GeoNet post that contains a ton of useful info on the problem and it is difficult to determine if the original issue was ever resolved:
Would anyone know if there are limitations of the Python API in Portal with Active Directory authentication which could cause this script to fail?
There are some errors cited on the tech support site. You don't give an error number, so here is one example
BUG-000139010: When authenticating with an Active Directory user in.. (esri.com)
I think I was able to get past that issue when I added username as username@domain instead of just name.