Does anyone know why Pro 2.0.1 would drop my signed-in status to our AGOL org? Is there a time-out setting somewhere? The way I am staging and uploading hosted content relies on my being signed into our AGOL account:
arcpy.mp.CreateWebLayerSDDraft(lyr, "V:/ArcProProjets/AgolUpdates/Cadastral/" + lyr.name + ".sddraft", lyr.name, "MY_HOSTED_SERVICES", "FEATURE_ACCESS",
"OpenData", True, False, False, True, False, "", 'Cadastral')
arcpy.StageService_server('V:/ArcProProjets/AgolUpdates/Cadastral/' + lyr.name + '.sddraft', 'V:/ArcProProjets/AgolUpdates/Cadastral/' + lyr.name + '.sd')
I'm running this once a week on Saturdays. I should note that we are using our concurrent license manager and not named user accounts.