<?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 Re: Passing parameters from c# code to M query parameter failed in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Passing-parameters-from-c-code-to-M-query-parameter-failed/m-p/4023953#M53898</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/762741"&gt;@pcho&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;For the error message, it seems like your connection string include dynamic part which can't be schedular refresh.&lt;/P&gt;
&lt;P&gt;Have you tried to modify your M query with optional parameter to handle these scenario, and use the new version report in the sample?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-in-power-query-and-power-bi-m-code/" target="_self"&gt;Using The RelativePath And Query Options With Web.Contents() In Power Query And Power BI M Code&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jul 2024 02:12:24 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-07-04T02:12:24Z</dc:date>
    <item>
      <title>Passing parameters from c# code to M query parameter failed</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Passing-parameters-from-c-code-to-M-query-parameter-failed/m-p/4023680#M53896</link>
      <description>&lt;P&gt;Hi, I am trying to understand why the ‘UpdateMashupParametersRequest’ (img1) code is working in the AppOwnsDataStarterKit sample app, but not in my app(img2)!! I am seeing a dataset error in (img3). Wondering is it because I am using authentication type as ‘Service Principal’??&lt;/P&gt;&lt;P&gt;App-Owns-Data-Starter-Kit-&amp;gt;PowerBiServiceApi.cs-&amp;gt;OnboardNewTenant&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/PowerBiDevCamp/App-Owns-Data-Starter-Kit/tree/main/Docs" target="_blank"&gt;App-Owns-Data-Starter-Kit/Docs at main · PowerBiDevCamp/App-Owns-Data-Starter-Kit · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;img1&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pcho_1-1720035943315.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1126338i2B9750D52B9AD5D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pcho_1-1720035943315.png" alt="pcho_1-1720035943315.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;img2&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pcho_3-1720036094477.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1126340iB1F991FBFC6DDCA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pcho_3-1720036094477.png" alt="pcho_3-1720036094477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;img3&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pcho_4-1720038361906.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1126357iFB229C0C4D4FC6E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pcho_4-1720038361906.png" alt="pcho_4-1720038361906.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;Thanks,&lt;/P&gt;&lt;P&gt;-Peter&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 20:36:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Passing-parameters-from-c-code-to-M-query-parameter-failed/m-p/4023680#M53896</guid>
      <dc:creator>pcho</dc:creator>
      <dc:date>2024-07-03T20:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Passing parameters from c# code to M query parameter failed</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Passing-parameters-from-c-code-to-M-query-parameter-failed/m-p/4023953#M53898</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/762741"&gt;@pcho&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;For the error message, it seems like your connection string include dynamic part which can't be schedular refresh.&lt;/P&gt;
&lt;P&gt;Have you tried to modify your M query with optional parameter to handle these scenario, and use the new version report in the sample?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.crossjoin.co.uk/2016/08/16/using-the-relativepath-and-query-options-with-web-contents-in-power-query-and-power-bi-m-code/" target="_self"&gt;Using The RelativePath And Query Options With Web.Contents() In Power Query And Power BI M Code&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 02:12:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Passing-parameters-from-c-code-to-M-query-parameter-failed/m-p/4023953#M53898</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-04T02:12:24Z</dc:date>
    </item>
  </channel>
</rss>

