<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Update Features through Power Automate - Token not recognized in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1033019#M32944</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a scenario that ran successfully in Integromat, and now I tried to make it work in Power Automate.&lt;/P&gt;&lt;P&gt;In my scenario, an http request is sent to the 3rd party geocoder API, and it retrieves the city and address information, and post it back to the feature layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used 'pulldata('@property', 'token') to get the token information and used it in the update url (image below).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1614883197859.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7523i5D27F349FF1A5F9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1614883197859.png" alt="KerryKang_0-1614883197859.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I ran the scenario, it says it ran successfully, but two fields above (locality/ address) are still empty. If I check the output status in Power Automate module, it says&amp;nbsp; 'invalid token'. The input area shows the values I expected to see.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_2-1614884544565.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7528iE109C7786D576FC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_2-1614884544565.png" alt="KerryKang_2-1614884544565.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aware that we can retrieve token through another http module by providing specific username and password, but I expect this survey is being shared with multiple users. So, I hope to keep using 'pulldata' within the survey to get the token information.&lt;/P&gt;&lt;P&gt;Could you someone advise me if I missed anything for this setup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Mar 2021 23:38:06 GMT</pubDate>
    <dc:creator>KerryKang</dc:creator>
    <dc:date>2021-03-04T23:38:06Z</dc:date>
    <item>
      <title>Update Features through Power Automate - Token not recognized</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1033019#M32944</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a scenario that ran successfully in Integromat, and now I tried to make it work in Power Automate.&lt;/P&gt;&lt;P&gt;In my scenario, an http request is sent to the 3rd party geocoder API, and it retrieves the city and address information, and post it back to the feature layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used 'pulldata('@property', 'token') to get the token information and used it in the update url (image below).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_0-1614883197859.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7523i5D27F349FF1A5F9D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_0-1614883197859.png" alt="KerryKang_0-1614883197859.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I ran the scenario, it says it ran successfully, but two fields above (locality/ address) are still empty. If I check the output status in Power Automate module, it says&amp;nbsp; 'invalid token'. The input area shows the values I expected to see.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KerryKang_2-1614884544565.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7528iE109C7786D576FC0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KerryKang_2-1614884544565.png" alt="KerryKang_2-1614884544565.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am aware that we can retrieve token through another http module by providing specific username and password, but I expect this survey is being shared with multiple users. So, I hope to keep using 'pulldata' within the survey to get the token information.&lt;/P&gt;&lt;P&gt;Could you someone advise me if I missed anything for this setup?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Mar 2021 23:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1033019#M32944</guid>
      <dc:creator>KerryKang</dc:creator>
      <dc:date>2021-03-04T23:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Update Features through Power Automate - Token not recognized</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1033556#M32985</link>
      <description>&lt;P&gt;Hi. The currently available version of the Power Automate connector makes working with tokens quite difficult. I suggest you wait a couple of weeks as we have a new release waiting to be approved by Microsoft. With the new update, you should be able to get the token from the payload, like you did with Integromat.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 19:21:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1033556#M32985</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2021-03-05T19:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update Features through Power Automate - Token not recognized</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1158637#M41690</link>
      <description>&lt;P&gt;I have a public survey which I am reading into Power Automate using the process described above. Once I have enriched the data, I would like to write back to the survey's feature service. As it is a public survey, I have to generate a token. I have followed some help texts and am generating a token, but I am still getting a 'token required' error when I post back to the feature service. If I copy and paste the serviceURL with the token I have raised into a browser it works. Any idea how to fix this?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2022 23:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1158637#M41690</guid>
      <dc:creator>JamesWilson2</dc:creator>
      <dc:date>2022-03-28T23:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Update Features through Power Automate - Token not recognized</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1159729#M41774</link>
      <description>&lt;P&gt;Have you checked your token works by copying and pasting your URI and token into a web browser?&lt;BR /&gt;&amp;lt;pasteURI&amp;gt;?token=&amp;lt;pasteToken&amp;gt;&lt;/P&gt;&lt;P&gt;I have had this same problem, though I was working with a token that I raised. When I put it into a browser it worked, so I knew the token was valid. I was passing it as a bearer token and it did not work. I tried your syntax and it did not work. I tried the syntax in this article and it works for me&lt;A href="https://community.esri.com/t5/arcgis-rest-api-questions/changing-hosted-feature-layers-with-power-automate/m-p/1144399" target="_blank"&gt;&amp;nbsp;Solved: Changing hosted Feature layers with Power automate... - Esri Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 00:48:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/update-features-through-power-automate-token-not/m-p/1159729#M41774</guid>
      <dc:creator>JamesWilson2</dc:creator>
      <dc:date>2022-03-31T00:48:14Z</dc:date>
    </item>
  </channel>
</rss>

