<?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: Invoke Pipeline (Preview) - Managing Pipeline IDs Across Workspaces in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4273829#M6289</link>
    <description>&lt;P&gt;I can think of 2-3 ways of maintaining pipeline ids across workspaces - this is a very similar problem to when you have DEV, TEST, and PROD environments and need to make sure lakehouse ids move properly during deployments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Probably the worst case from a maintenance point of view, but have a table in each workspace that holds lookups between pipeline name and pipeline id.&amp;nbsp; Create a sub-pipeline that takes a pipeline name as a parameter and returns a pipeline id.&amp;nbsp; This table could be periodically populated using API calls similar to method 2 without the filtering and output to a table.&lt;/LI&gt;&lt;LI&gt;Have a notebook that uses the library &lt;STRONG&gt;&lt;EM&gt;sempy_labs&lt;/EM&gt;&lt;/STRONG&gt;​ and specifically the function&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;sempy_labs.admin.list_items​()&lt;/EM&gt;&lt;/STRONG&gt; to get a list of items, filter on Type = DataPipelines.&amp;nbsp; Have the notebook take the pipeline name in as a parameter and output the pipeline id as its exitValue&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://github.com/microsoft/semantic-link-labs" target="_blank"&gt;https://github.com/microsoft/semantic-link-labs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Same as 2., just write the API calls yourself.&amp;nbsp; (Mostly for when you can't install sempy_labs).&amp;nbsp; I won't demo this here, but &lt;STRONG&gt;&lt;EM&gt;sempy_labs&lt;/EM&gt;&lt;/STRONG&gt; just wraps these API calls so it works the same way.&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Thu, 07 Nov 2024 10:20:50 GMT</pubDate>
    <dc:creator>spencer_sa</dc:creator>
    <dc:date>2024-11-07T10:20:50Z</dc:date>
    <item>
      <title>Invoke Pipeline (Preview) - Managing Pipeline IDs Across Workspaces</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4273648#M6287</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We have a &lt;STRONG&gt;master pipeline&lt;/STRONG&gt; in &lt;STRONG&gt;Microsoft Fabric&lt;/STRONG&gt; that dynamically calls &lt;STRONG&gt;worker pipelines&lt;/STRONG&gt; by passing the&amp;nbsp;&lt;STRONG&gt;Pipeline ID (GUID)&lt;/STRONG&gt;, which is retrieved from a &lt;STRONG&gt;SQL Server database&lt;/STRONG&gt;. This setup works perfectly fine when running within the same workspace. I am using&amp;nbsp;&lt;STRONG&gt;Invoke Pipeline (Preview)&lt;/STRONG&gt; activity in the master pipeline to call the worker pipeline and it uses dynamic content to pass the correct &lt;STRONG&gt;Pipeline ID (GUID):&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&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;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When the changes are propagated to other workspaces via GIT, the &lt;STRONG&gt;Object ID (GUID)&lt;/STRONG&gt; for the worker pipelines changes, causing the master pipeline to fail because the ID no longer matches the worker pipeline in the new workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concerns:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Pipeline ID changes&lt;/STRONG&gt; when moving worker pipelines to different workspaces,&amp;nbsp;Need for a solution to dynamically pass the correct &lt;STRONG&gt;Pipeline ID&lt;/STRONG&gt; for each workspace without hardcoding or constant updates&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;How can we dynamically &lt;STRONG&gt;resolve and pass the correct Pipeline ID&lt;/STRONG&gt; for worker pipelines across different workspaces? Is&amp;nbsp;there best practices or automated ways to &lt;STRONG&gt;fetch Pipeline IDs&lt;/STRONG&gt; dynamically (via API, Azure DevOps, etc.) for cross-workspace invocations&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Nov 2024 08:24:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4273648#M6287</guid>
      <dc:creator>Aj_Singh</dc:creator>
      <dc:date>2024-11-07T08:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke Pipeline (Preview) - Managing Pipeline IDs Across Workspaces</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4273829#M6289</link>
      <description>&lt;P&gt;I can think of 2-3 ways of maintaining pipeline ids across workspaces - this is a very similar problem to when you have DEV, TEST, and PROD environments and need to make sure lakehouse ids move properly during deployments.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Probably the worst case from a maintenance point of view, but have a table in each workspace that holds lookups between pipeline name and pipeline id.&amp;nbsp; Create a sub-pipeline that takes a pipeline name as a parameter and returns a pipeline id.&amp;nbsp; This table could be periodically populated using API calls similar to method 2 without the filtering and output to a table.&lt;/LI&gt;&lt;LI&gt;Have a notebook that uses the library &lt;STRONG&gt;&lt;EM&gt;sempy_labs&lt;/EM&gt;&lt;/STRONG&gt;​ and specifically the function&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;sempy_labs.admin.list_items​()&lt;/EM&gt;&lt;/STRONG&gt; to get a list of items, filter on Type = DataPipelines.&amp;nbsp; Have the notebook take the pipeline name in as a parameter and output the pipeline id as its exitValue&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://github.com/microsoft/semantic-link-labs" target="_blank"&gt;https://github.com/microsoft/semantic-link-labs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Same as 2., just write the API calls yourself.&amp;nbsp; (Mostly for when you can't install sempy_labs).&amp;nbsp; I won't demo this here, but &lt;STRONG&gt;&lt;EM&gt;sempy_labs&lt;/EM&gt;&lt;/STRONG&gt; just wraps these API calls so it works the same way.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 07 Nov 2024 10:20:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4273829#M6289</guid>
      <dc:creator>spencer_sa</dc:creator>
      <dc:date>2024-11-07T10:20:50Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke Pipeline (Preview) - Managing Pipeline IDs Across Workspaces</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4278780#M6328</link>
      <description>&lt;P&gt;Thanks for the input, have applied a workaround to capture the workspace details using REST API and capture that info. in the backend table and utilize that to share it with Invoke Pipeline (Preview) dynamically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 22:51:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4278780#M6328</guid>
      <dc:creator>Aj_Singh</dc:creator>
      <dc:date>2024-11-11T22:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Invoke Pipeline (Preview) - Managing Pipeline IDs Across Workspaces</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4281298#M6345</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="840087" data-lia-user-login="Aj_Singh" class="lia-mention lia-mention-user"&gt;Aj_Singh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the solution idea, it's valuable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Adamk Kong&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 07:49:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Invoke-Pipeline-Preview-Managing-Pipeline-IDs-Across-Workspaces/m-p/4281298#M6345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-13T07:49:45Z</dc:date>
    </item>
  </channel>
</rss>

