Make the token for Survey123 valid indefinitely for Microsoft Power Automate Flows that use the Survey123 connector

1118
13
11-17-2023 07:20 AM
Status: Open
Labels (1)
ColForbin
Occasional Contributor

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:

{
  "error": {
    "message""Missing required parameters: \"token\"",
    "code""001"
  },
  "success"false
}

 

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:

https://community.esri.com/t5/arcgis-survey123-questions/changes-to-survey123-connector-in-power-aut... 

 

13 Comments
SeanKMcGinnis

@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.

NourSalamJMT

@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!

ARyanWADNR

@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.