<?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 issue when using Custom connector in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/issue-when-using-Custom-connector/m-p/846470#M21402</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried to create a custom connector in Azure Logic APP in order to refresh my dataflow.&lt;/P&gt;&lt;P&gt;I followed these steps :&lt;/P&gt;&lt;P&gt;1 -&amp;gt;Register App for PowerBI using the page&amp;nbsp; : &lt;A href="https://dev.powerbi.com/apps" target="_blank" rel="noopener nofollow"&gt;https://dev.powerbi.com/apps&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;2 -&amp;gt; I created a new connector in AZURE (Logic App Connector)&lt;/P&gt;&lt;P&gt;- under the security tab I choose the Oauth2, and used the clientId and client secret Code obtained during step1&lt;/P&gt;&lt;P&gt;- under the definition tab I set the POST method and the following API rest :&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.powerbi.com/POST" target="_blank" rel="noopener"&gt;https://api.powerbi.com/POST&lt;/A&gt; &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshes" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;note that when I run it under the microsoft documentation page giving the groupId and the dataflowID, It succeed ! (&lt;A href="https://docs.microsoft.com/fr-fr/rest/api/power-bi/dataflows/refreshdataflow" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/fr-fr/rest/api/power-bi/dataflows/refreshdataflow&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3 -&amp;gt; I built my worflow in Azure Logic App using my new connector, and gave it the right parameters (groupId and DataflowId)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I execute the process I have an error occures under the connector :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;404&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Resource not found activityId: "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanx for your help !&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 14 Nov 2019 18:03:01 GMT</pubDate>
    <dc:creator>J-Luc</dc:creator>
    <dc:date>2019-11-14T18:03:01Z</dc:date>
    <item>
      <title>issue when using Custom connector</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/issue-when-using-Custom-connector/m-p/846470#M21402</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I tried to create a custom connector in Azure Logic APP in order to refresh my dataflow.&lt;/P&gt;&lt;P&gt;I followed these steps :&lt;/P&gt;&lt;P&gt;1 -&amp;gt;Register App for PowerBI using the page&amp;nbsp; : &lt;A href="https://dev.powerbi.com/apps" target="_blank" rel="noopener nofollow"&gt;https://dev.powerbi.com/apps&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;2 -&amp;gt; I created a new connector in AZURE (Logic App Connector)&lt;/P&gt;&lt;P&gt;- under the security tab I choose the Oauth2, and used the clientId and client secret Code obtained during step1&lt;/P&gt;&lt;P&gt;- under the definition tab I set the POST method and the following API rest :&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.powerbi.com/POST" target="_blank" rel="noopener"&gt;https://api.powerbi.com/POST&lt;/A&gt; &lt;A href="https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshes" target="_blank" rel="noopener"&gt;https://api.powerbi.com/v1.0/myorg/groups/{groupId}/dataflows/{dataflowId}/refreshes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;note that when I run it under the microsoft documentation page giving the groupId and the dataflowID, It succeed ! (&lt;A href="https://docs.microsoft.com/fr-fr/rest/api/power-bi/dataflows/refreshdataflow" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/fr-fr/rest/api/power-bi/dataflows/refreshdataflow&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3 -&amp;gt; I built my worflow in Azure Logic App using my new connector, and gave it the right parameters (groupId and DataflowId)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I execute the process I have an error occures under the connector :&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;: {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"code"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;404&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Resource not found activityId: "&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thanx for your help !&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Nov 2019 18:03:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/issue-when-using-Custom-connector/m-p/846470#M21402</guid>
      <dc:creator>J-Luc</dc:creator>
      <dc:date>2019-11-14T18:03:01Z</dc:date>
    </item>
  </channel>
</rss>

