Currently with a Microsoft Power automate (MSPA) flow that uses a connector for ArcGIS Survey123, the security token for the connector seems to only be valid for 30 days. After this time, the flow will fail due to an invalid token with the error:
Because the main reason for using a MSPA flow is to automate certain tasks, it would be ideal if this token would be valid either indefinitely, or for a much longer period of time, for example 1 year. When the token lapses, there seems to be only one way to get the connection to work again and that is this:
@RobertAnderson3 - there will be no impact to the flows currently using the Survey123 connector. But in order to take advantage of the refresh token management, it will require flows to be updated to use triggers/actions in the ArcGIS for Microsoft 365 connector.
@SeanKMcGinnis thank you for this timely information! How would this impact a custom PowerAutomate connector I have created for Survey123 in ArcGIS Enterprise? Would the team's work fix the issue there as well or does the fix only apply to ArcGIS Online? Thanks!
@ChelseaRozekI haven't seen any issues with integromat and tokens. It is also a lot easier to reauthorize survey123 and other apps on there than it is in Power Automate IMHO.
@SeanKMcGinnis - commenting to see if you know whether this has been implemented, and if there are any development trackers or documentation I can refer to in order to see update status.
Thanks!
Any update on this idea? I have enabled a token refresh flow. However, still encountering issues within my automated flows where they seem to forget all the input params from S123, and the only way to fix it is adding a new token.
This is NOT a viable solution when we rely on PowerAutomate for automated email and report generation for external clients. I.e. we cannot always be going in there to fix this and re-run the automation so they receive their documents.
@MeganEngel switching our connection from Survey123 to the ArcGIS connector solved this for us. All the Survey123 triggers and actions are in the ArcGIS and ArcGIS Enterprise connectors. Once we switched from Survey123 to ArcGIS, we no longer had issues with our tokens needing refreshed.
@ISP_graynic , great thanks for the info! We really are not the biggest fans of the S123 connector, so will see switching to the ArcGIS connector. If it not triggered for a few weeks will it 'forget' those input parameters like the S123 connector, because that is what S123 seems like it has issues with?
@MeganEngel we switched over from the Survey123 connector about 3 months ago and haven't had any issues since. According to the post below, it doesn't look like the token refresh is an issue at all with this connector.
I have created a flow in MS Power Automate that simply gets all surveys owned by me using the S123 connector, and this flow runs daily. When it runs it refreshes the token, so it is always renewed. This seems to have solved the issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.