<?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: Return username in report instead of email address in Power BI Report Server in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3070443#M28792</link>
    <description>&lt;P&gt;I'm not aware of any config setting that would change this. I've never seen this behaviour before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might be some AD configuration. When you look in the top right corner of the report portal what format is the username there? Is it domain\user or &lt;A href="mailto:user@domain" target="_blank"&gt;user@domain&lt;/A&gt;&amp;nbsp;?&amp;nbsp; You might need to open a support ticket with Microsoft to get help on this.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Feb 2023 23:16:56 GMT</pubDate>
    <dc:creator>d_gosbell</dc:creator>
    <dc:date>2023-02-08T23:16:56Z</dc:date>
    <item>
      <title>Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3066956#M28764</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm using the DAX function, username() in a&amp;nbsp;&lt;SPAN&gt;Row-Level Security&lt;/SPAN&gt; role.&amp;nbsp; In Power BI Desktop, this functions returns the username in this format: domain\user which is expected.&amp;nbsp; However, when I publish the report to Report Server, this function returns the user's email address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I return the username in this format domain\user?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 19:18:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3066956#M28764</guid>
      <dc:creator>mdubose</dc:creator>
      <dc:date>2023-02-07T19:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3067020#M28765</link>
      <description>&lt;P&gt;What do you have using UserPrincipalName() ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-rls" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/enterprise/service-admin-rls&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 19:50:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3067020#M28765</guid>
      <dc:creator>freginier</dc:creator>
      <dc:date>2023-02-07T19:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3067023#M28766</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/334349"&gt;@freginier&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;With&amp;nbsp;&lt;SPAN&gt;UserPrincipalName()&amp;nbsp;, I also get the email address which I believe is expected. However, I do not want to return the email address of a user but their username instead.&amp;nbsp; A user's username is going against my dataset. Email address is not.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 19:53:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3067023#M28766</guid>
      <dc:creator>mdubose</dc:creator>
      <dc:date>2023-02-07T19:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3067741#M28768</link>
      <description>&lt;P&gt;Are you sure you are deploying to an on-prem report server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As noted in the example here&amp;nbsp;&lt;A href="https://dax.guide/username/" target="_blank"&gt;USERNAME - DAX Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;USERNAME() should return the name in domain\user format unless you are quering AzureAS or the Power BI Service in which case it returns the same value as USERPRINCIPALNAME() (which is an email address format)&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 03:51:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3067741#M28768</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2023-02-08T03:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3068985#M28775</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/109790"&gt;@d_gosbell&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure I'm deploying to Report Server. See image below.&amp;nbsp; Also, authentication in through an on premise Active Directory.&amp;nbsp; Is there any setting in a config file on Report Server in which needs to be changed to make this work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot.png" style="width: 200px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/868441iF0AEEA89E25852FB/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screenshot.png" alt="Screenshot.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 14:58:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3068985#M28775</guid>
      <dc:creator>mdubose</dc:creator>
      <dc:date>2023-02-08T14:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3070443#M28792</link>
      <description>&lt;P&gt;I'm not aware of any config setting that would change this. I've never seen this behaviour before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This might be some AD configuration. When you look in the top right corner of the report portal what format is the username there? Is it domain\user or &lt;A href="mailto:user@domain" target="_blank"&gt;user@domain&lt;/A&gt;&amp;nbsp;?&amp;nbsp; You might need to open a support ticket with Microsoft to get help on this.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 23:16:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3070443#M28792</guid>
      <dc:creator>d_gosbell</dc:creator>
      <dc:date>2023-02-08T23:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3070691#M28793</link>
      <description>&lt;P&gt;It displays the user's name. For example, John Doe.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 02:21:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3070691#M28793</guid>
      <dc:creator>mdubose</dc:creator>
      <dc:date>2023-02-09T02:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3114801#M29088</link>
      <description>&lt;P&gt;I've created a support ticket with Microsoft and they've informed me that this is an expected behavior. In that, the USERNAME() dax funtion returns UPN instead of&amp;nbsp;&lt;SPAN&gt;domain\user format when report is published to Power BI Report Server.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 19:31:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/3114801#M29088</guid>
      <dc:creator>mdubose</dc:creator>
      <dc:date>2023-03-06T19:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Return username in report instead of email address in Power BI Report Server</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/4628879#M40125</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/498950"&gt;@mdubose&lt;/a&gt;&amp;nbsp;are you able to pull the username? Even I got the same scenario if you find the solution please share.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 09:01:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Return-username-in-report-instead-of-email-address-in-Power-BI/m-p/4628879#M40125</guid>
      <dc:creator>Simhalauday</dc:creator>
      <dc:date>2025-03-28T09:01:34Z</dc:date>
    </item>
  </channel>
</rss>

