<?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 Data Source Connection Properties, Azure SQL question in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Data-Source-Connection-Properties-Azure-SQL-question/m-p/1622082#M17633</link>
    <description>&lt;P&gt;I have a paginated report that gets data from an Azure SQL Server.&lt;/P&gt;&lt;P&gt;In the SQL code in the Dataset, one column is CURRENT_USER that gets me the AD user email address when running the SQL code outside the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When uploading the report to a Power BI Workspace the&amp;nbsp;CURRENT_USER column is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I configure the data source in Power BI report builder without adding user/PW in the data source and use 'ActiveDirectoryIntegrated'. Tried a lot of settings but don't get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either I have to add a user in the data source or it dont work in the report.&lt;/P&gt;&lt;P&gt;Used 'ActiveDirectoryIntegrated' in Advanced properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2021 11:02:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-01-26T11:02:38Z</dc:date>
    <item>
      <title>Data Source Connection Properties, Azure SQL question</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Data-Source-Connection-Properties-Azure-SQL-question/m-p/1622082#M17633</link>
      <description>&lt;P&gt;I have a paginated report that gets data from an Azure SQL Server.&lt;/P&gt;&lt;P&gt;In the SQL code in the Dataset, one column is CURRENT_USER that gets me the AD user email address when running the SQL code outside the report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When uploading the report to a Power BI Workspace the&amp;nbsp;CURRENT_USER column is empty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I configure the data source in Power BI report builder without adding user/PW in the data source and use 'ActiveDirectoryIntegrated'. Tried a lot of settings but don't get it to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Either I have to add a user in the data source or it dont work in the report.&lt;/P&gt;&lt;P&gt;Used 'ActiveDirectoryIntegrated' in Advanced properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2021 11:02:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Data-Source-Connection-Properties-Azure-SQL-question/m-p/1622082#M17633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-26T11:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data Source Connection Properties, Azure SQL question</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Data-Source-Connection-Properties-Azure-SQL-question/m-p/1625264#M17677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your issue is more related to azure sql db. I would also suggest you open a thread in azure sql db forum.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I know, you can use&amp;nbsp;&lt;SPAN&gt;ActiveDirectoryIntegrated in connection string :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Use connection string like below:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;string ConnectionString = @"Data Source=n9lxnyuzhv.database.windows.net; Authentication=Active Directory Integrated; Initial Catalog=testdb;";
SqlConnection conn = new SqlConnection(ConnectionString);
conn.Open();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For more details, please refer to&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/49771761/azure-sql-database-active-directory-integrated-authentication" target="_blank"&gt;https://stackoverflow.com/questions/49771761/azure-sql-database-active-directory-integrated-authentication&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this post&amp;nbsp;helps, then please consider&amp;nbsp;Accept it as the solution&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Dedmon Dai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2021 06:27:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Data-Source-Connection-Properties-Azure-SQL-question/m-p/1625264#M17677</guid>
      <dc:creator>v-deddai1-msft</dc:creator>
      <dc:date>2021-01-27T06:27:53Z</dc:date>
    </item>
  </channel>
</rss>

