Hello all,
I went through this link in an effort to successfully login to AGOL using my enterprise account however, I am continually faced with invalid credentials error. The authorization to my enterprise account is windows authentications and hence I used my windows password. I am still unsuccessful. Any pointers would help!
When I use a built-in account, I am able to login successfully
from arcgis.gis import GIS
insPortal = GIS("portal-link", username = 'AGOL_uname', password = 'password')
print("Logged in as: " + str(insPortal.properties))
print('Login Succesful')