<?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 Runing Notebooks under SPN in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4787872#M11501</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anyone know whether it's possible to run Fabric notebooks under the security context of a Service Principal (SPN), either:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Directly via a scheduler&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Within a pipeline activity&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Via an API&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I've found a few resources but haven't come across a definitive answer on whether it's supported - and if it is, what the preferred method would be.&lt;/P&gt;&lt;P&gt;Can anyone advise?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;WJ&lt;/P&gt;</description>
    <pubDate>Tue, 05 Aug 2025 12:34:27 GMT</pubDate>
    <dc:creator>wojciech</dc:creator>
    <dc:date>2025-08-05T12:34:27Z</dc:date>
    <item>
      <title>Runing Notebooks under SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4787872#M11501</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anyone know whether it's possible to run Fabric notebooks under the security context of a Service Principal (SPN), either:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Directly via a scheduler&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Within a pipeline activity&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Via an API&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I've found a few resources but haven't come across a definitive answer on whether it's supported - and if it is, what the preferred method would be.&lt;/P&gt;&lt;P&gt;Can anyone advise?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;WJ&lt;/P&gt;</description>
      <pubDate>Tue, 05 Aug 2025 12:34:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4787872#M11501</guid>
      <dc:creator>wojciech</dc:creator>
      <dc:date>2025-08-05T12:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Runing Notebooks under SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4788871#M11532</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/423064"&gt;@wojciech&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently running notebooks directly under an SPN context or running notebooks standalone using SPN is not supported. Notebooks always run under the identity of the user or the pipeline that triggers them.&lt;/P&gt;
&lt;P&gt;The supported approach is to use the notebook in a Fabric pipeline and then trigger the pipeline using the Fabric REST API using SPN authentication.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a pipeline that includes the notebook as an activity.&lt;/LI&gt;
&lt;LI&gt;Assign permissions to the Service Principal on the Fabric workspace like Contributor role or higher.&lt;/LI&gt;
&lt;LI&gt;Use the REST API to trigger the pipeline run using an AAD access token for the SPN.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps in resolving the issue, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 11:45:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4788871#M11532</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-08-06T11:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Runing Notebooks under SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4788890#M11533</link>
      <description>&lt;P&gt;&amp;nbsp;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/882907"&gt;@v-achippa&lt;/a&gt;&amp;nbsp;for claryfying... much appreciated&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 11:53:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4788890#M11533</guid>
      <dc:creator>wojciech</dc:creator>
      <dc:date>2025-08-06T11:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Runing Notebooks under SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4788894#M11534</link>
      <description>&lt;P&gt;Thank you for the clear explanation, Anjan &lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;BR /&gt;Using the pipeline approach with SPN and REST API makes sense now. I’ll try triggering the notebook via Fabric pipeline as suggested and make sure the SPN has the necessary permissions.&lt;/P&gt;&lt;P&gt;Appreciate the detailed steps and clarification!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Aug 2025 11:54:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4788894#M11534</guid>
      <dc:creator>youdao4</dc:creator>
      <dc:date>2025-08-06T11:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Runing Notebooks under SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4834440#M12498</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/882907"&gt;@v-achippa&lt;/a&gt;&amp;nbsp;, Currently we have a&lt;BR /&gt;1)&amp;nbsp; ADF managed identity which has been given contributor access over the Fabric workspace where my fabric pipeline is.&lt;BR /&gt;2) We are using Fabric Rest API to call the fabric pipeline from adf using web activity and managed identity authenntication .&lt;BR /&gt;3) we see that the Fabirc Pipeline runs under the Managed identity context but the fabric notebook withing it , still takes the authentication of the person who last saved the fabric pipeline.&lt;BR /&gt;&lt;BR /&gt;so it doesn't works according to your solution , please tell if i am wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Sep 2025 14:23:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4834440#M12498</guid>
      <dc:creator>yashaswi_raj</dc:creator>
      <dc:date>2025-09-24T14:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Runing Notebooks under SPN</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4839576#M12647</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/920384"&gt;@yashaswi_raj&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes currently while a pipeline can be triggered using a Service Principal or Managed Identity, any notebook activity inside it will still run under the identity of the user who last saved the pipeline, this is by design in fabric. &lt;BR /&gt;If you need notebooks to run fully under a Service Principal or Managed Identity context, that is not supported yet. I recommend submitting your detailed feedback and ideas through Microsoft's official feedback channels. Feedback submitted through these channels is frequently reviewed by the product teams and can contribute to meaningful improvements.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-Ideas/idb-p/fbc_ideas/ideas/search-ideas" target="_blank"&gt;Fabric Ideas - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 06:16:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Runing-Notebooks-under-SPN/m-p/4839576#M12647</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-10-01T06:16:45Z</dc:date>
    </item>
  </channel>
</rss>

