<?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 Is it possible to get username of the user who triggered a pipeline run? in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4361794#M6857</link>
    <description>&lt;P&gt;Greetings, community. I have a couple scenarios where I want to get the username of the person who is invoking a pipeline. I am not seeing this in any of the System Variables, but I'm hoping there's a way to do this. Use cases include:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Using the triggering user's email address for email notifications.&lt;/LI&gt;&lt;LI&gt;Logging who triggered the pipeline run for audit/compliance.&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Mon, 13 Jan 2025 15:12:23 GMT</pubDate>
    <dc:creator>arpost</dc:creator>
    <dc:date>2025-01-13T15:12:23Z</dc:date>
    <item>
      <title>Is it possible to get username of the user who triggered a pipeline run?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4361794#M6857</link>
      <description>&lt;P&gt;Greetings, community. I have a couple scenarios where I want to get the username of the person who is invoking a pipeline. I am not seeing this in any of the System Variables, but I'm hoping there's a way to do this. Use cases include:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Using the triggering user's email address for email notifications.&lt;/LI&gt;&lt;LI&gt;Logging who triggered the pipeline run for audit/compliance.&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 13 Jan 2025 15:12:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4361794#M6857</guid>
      <dc:creator>arpost</dc:creator>
      <dc:date>2025-01-13T15:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get username of the user who triggered a pipeline run?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4362617#M6863</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307993" data-lia-user-login="arpost" class="lia-mention lia-mention-user"&gt;arpost&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This information is not directly available in the system variables, you can check the activity logs to identify the user who triggered or &lt;SPAN&gt;reran&lt;/SPAN&gt;&amp;nbsp;the pipeline.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Adamk Kong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;EM&gt;&lt;STRONG&gt;helps&lt;/STRONG&gt;&lt;/EM&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 06:18:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4362617#M6863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-01-14T06:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get username of the user who triggered a pipeline run?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4373355#M6906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="307993" data-lia-user-login="arpost" class="lia-mention lia-mention-user"&gt;arpost&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft Fabric does not provide a direct way to retrieve the username of the person who triggered a pipeline run through system variables or built-in functions. However, there are a few potential workarounds you can consider:&lt;BR /&gt;1. Activity Logs: While not directly accessible within the pipeline, you can check the activity logs to identify the user who triggered or reran a pipeline. This information is stored separately from the pipeline execution itself.&lt;BR /&gt;2. Custom Parameter: You could add a custom parameter to your pipeline that requires the user to input their username or email address when triggering the pipeline manually. This approach would work for on-demand runs but not for scheduled runs.&lt;BR /&gt;3. Power Automate Integration: If you’re triggering the pipeline through Power Automate, you might be able to pass the user’s information as a parameter to the pipeline. This method would require additional setup and would only work for flows triggered by specific users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please accept this solution if this resolved your query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 09:49:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4373355#M6906</guid>
      <dc:creator>nilendraFabric</dc:creator>
      <dc:date>2025-01-21T09:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get username of the user who triggered a pipeline run?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4373794#M6910</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="913195" data-lia-user-login="nilendraFabric" class="lia-mention lia-mention-user"&gt;nilendraFabric&lt;/a&gt;&amp;nbsp;and&amp;nbsp;Anonymous&lt;/a&gt;, thank you for replying. I was afraid this meant there wasn't a way to get at that data. While the ideal state would be scheduled runs only, there are numerous cases where manual runs are required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="913195" data-lia-user-login="nilendraFabric" class="lia-mention lia-mention-user"&gt;nilendraFabric&lt;/a&gt;, I think #2 would likely be about the only way to do this to address manual runs, but the lack of a value in a scheduled run would be a problem as that raises a new question: how do you identify that it was an automated run?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I know activity logs capture data like this, the need is around custom logging and alerting based on triggering user. Sounds like a feature request is in order.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 14:13:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4373794#M6910</guid>
      <dc:creator>arpost</dc:creator>
      <dc:date>2025-01-21T14:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get username of the user who triggered a pipeline run?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4938777#M9050</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;How can we access the pipeline activity logs in the pipeline environment at runtime?&lt;BR /&gt;Do you have any sample code for this?&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 23:29:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4938777#M9050</guid>
      <dc:creator>Yazdan</dc:creator>
      <dc:date>2026-01-27T23:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to get username of the user who triggered a pipeline run?</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4938778#M9051</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;How can we access the pipeline activity logs in the pipeline environment at runtime?&lt;BR /&gt;Do you have any sample code for this?&lt;BR /&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 23:29:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Is-it-possible-to-get-username-of-the-user-who-triggered-a/m-p/4938778#M9051</guid>
      <dc:creator>Yazdan</dc:creator>
      <dc:date>2026-01-27T23:29:25Z</dc:date>
    </item>
  </channel>
</rss>

