ArcGIS Pro logged out notification

01-21-2021 07:55 AM
Labels (1)
Occasional Contributor III

We have a scheduled task machine with Pro installed to run python 3.x.


Issue: if a user is not signed in (connected to portal), our python 3.x scripts to not run and we are not getting alerted via our error logging.

Is there a way to be notified that the user has logged out?  We have enabled offline mode which helps but sometimes the user still gets signed out (for instance when renew our license) .  Is there a arcpy function that will alert us if Pro is not connected to a Portal?

0 Kudos
1 Reply
Esri Frequent Contributor

There's a related post here that discusses a new "event" being added (starting at ArcGIS Pro 2.6) that gives you a notification of a given portals sign in/sign out changing.  A caveat - this seems to be exposed via the ArcGIS Pro SDK and I do not know the SDK at all.  Might be worth exploring more.

0 Kudos