Authentication Failing on update Hosted Feature Service

241
1
08-23-2018 07:45 AM
deleted-user-qpvAI3Fo0MKR
Occasional Contributor III

I'm trying to use the workflow described here to update a hosted feature service:

Updating your hosted feature services with ArcGIS Pro and the ArcGIS API for Python

The script is failing when I attempt to pass my credentials. We're using saml‌ FYI.

As a first attempt to troubleshoot, I've added a client_id to my content in AGOL and am passing that value as part of:

gis =GIS(portal, user, password, client_id). The server still rejects the authentication returning invalid credential errors.

Any advice from the community would be greatly appreciated.

Tags (1)
0 Kudos
1 Reply
simoxu
by MVP Regular Contributor
MVP Regular Contributor

There are some questions:

Are you using Portal or AGOL?

Are you using Built-in or enterprise Identity store?

I did a very easy test on AGOL using the OAuth2 method according to ESRI instruction and it works.

The following is the instruction:

Working with different authentication schemes | ArcGIS for Developers 

0 Kudos