Hi all,
I am trying to figure out the right way to get arcpy.da.searchcursor working with an ArcGIS Online service that is not public. I have the service shared to an ArcGIS Online group and my user is a member of the group.
I know I can use arcpy.SignInToPortal to sign into portal with my user and then I think arcpy.GetSigninToken() to get the token from that sign in.
I tried adding the token as a parameter to the service url but that didn't seem to work.
Has anyone successfully used arcpy.da.searchcursor with an AGO non-public service?
Thanks
Josh