<?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 cannot run t-sql notebook in pipeline in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4686905#M9191</link>
    <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;I am trying to create a pipeline that runs&amp;nbsp; a series of t-sql notebooks. The notebooks run fine by themselves, but when I run it from the pipeline I receive this error:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;Notebook execution failed at Notebook service with http status code - '200', please check the Run logs on Notebook, additional details - 'Error name - SqlDwException, Error value - DMS workload error in executing code cell: [Internal error MwcTokenValidationException. (ErrorCode=MwcTokenValidationException) (HTTP 401)]. DatamartId: xxxx. Data warehouse trace id: xxxx' :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Others have reported being able to do this activity just fine. Any ideas?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 09 May 2025 16:50:41 GMT</pubDate>
    <dc:creator>slachmuyldera</dc:creator>
    <dc:date>2025-05-09T16:50:41Z</dc:date>
    <item>
      <title>cannot run t-sql notebook in pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4686905#M9191</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;I am trying to create a pipeline that runs&amp;nbsp; a series of t-sql notebooks. The notebooks run fine by themselves, but when I run it from the pipeline I receive this error:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;&lt;SPAN&gt;Notebook execution failed at Notebook service with http status code - '200', please check the Run logs on Notebook, additional details - 'Error name - SqlDwException, Error value - DMS workload error in executing code cell: [Internal error MwcTokenValidationException. (ErrorCode=MwcTokenValidationException) (HTTP 401)]. DatamartId: xxxx. Data warehouse trace id: xxxx' :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Others have reported being able to do this activity just fine. Any ideas?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 09 May 2025 16:50:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4686905#M9191</guid>
      <dc:creator>slachmuyldera</dc:creator>
      <dc:date>2025-05-09T16:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: cannot run t-sql notebook in pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4688042#M9207</link>
      <description>&lt;P&gt;suggest to file a support ticket on this. thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 03:08:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4688042#M9207</guid>
      <dc:creator>QixiaoWang</dc:creator>
      <dc:date>2025-05-12T03:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: cannot run t-sql notebook in pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4688580#M9216</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1064797"&gt;@slachmuyldera&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Welcome to the Microsoft Fabric Forum,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error you are encountering, &lt;SPAN&gt;MwcTokenValidationException (HTTP 401)&lt;/SPAN&gt;, usually indicates a token validation issue related to authentication or authorization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When a notebook is triggered through a pipeline in Microsoft Fabric, it uses a system-assigned managed identity or a service principal for authentication. If this identity or principal lacks the necessary permissions on the Datamart or Warehouse, the authentication will fail, even if the notebook runs successfully when executed manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Verify the permissions such as the service principal or user account running the pipeline has the appropriate read and write permissions to access the data warehouse.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, upgrading to the latest stable runtime version can sometimes resolve execution delays or metadata commit inconsistencies.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a known issue with the &lt;SPAN&gt;Distributed Query Processor (DQP)&lt;/SPAN&gt; on the Microsoft side that could contribute to this behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For further reference, a similar issue has been discussed in the following thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Data-Warehouse/Unable-to-access-Data-Warehouse-MwcTokenValidationException/m-p/4063273" target="_blank"&gt;Solved: Unable to access Data Warehouse: MwcTokenValidatio... - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this information helps resolve your issue, kindly consider marking this response as the &lt;STRONG&gt;Accepted Solution,&lt;/STRONG&gt; as it may assist other community members facing similar challenges.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for being part of the Microsoft Fabric Community.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 07:08:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4688580#M9216</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-05-12T07:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: cannot run t-sql notebook in pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4694302#M9319</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1064797"&gt;@slachmuyldera&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 12:34:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4694302#M9319</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-05-15T12:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: cannot run t-sql notebook in pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4698443#M9387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1064797"&gt;@slachmuyldera&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN data-teams="true"&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 12:11:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4698443#M9387</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-05-19T12:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: cannot run t-sql notebook in pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4699056#M9401</link>
      <description>&lt;P&gt;I am in the process of trying to get some response back from support. So, no solution yet.&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 22:03:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4699056#M9401</guid>
      <dc:creator>slachmuyldera</dc:creator>
      <dc:date>2025-05-19T22:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: cannot run t-sql notebook in pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4699223#M9407</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1064797"&gt;@slachmuyldera&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the update. If you have found a solution, please share it here, as it will help other community members facing similar issues. Looking forward to your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Karpurapu D.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 04:43:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4699223#M9407</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-05-20T04:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: cannot run t-sql notebook in pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4712224#M9737</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1064797"&gt;@slachmuyldera&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We are following up once again regarding your query. Could you please confirm if the issue has been resolved through the support ticket with Microsoft?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the issue has been resolved, we kindly request you to share the resolution or key insights here to help others in the community. If we don’t hear back, we’ll go ahead and close this thread.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your understanding and participation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 May 2025 05:51:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/cannot-run-t-sql-notebook-in-pipeline/m-p/4712224#M9737</guid>
      <dc:creator>v-karpurapud</dc:creator>
      <dc:date>2025-05-30T05:51:09Z</dc:date>
    </item>
  </channel>
</rss>

