<?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: Tutorial for Power BI Embedded + Azure + SQL Server + RLS in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Tutorial-for-Power-BI-Embedded-Azure-SQL-Server-RLS/m-p/205054#M6526</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32942"&gt;@gattoun&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Does anyone know of a start to finish tutorial for creating an Azure app with authentication that includes Power BI Embedded (using DirectQuery SQL server) and row-level security? I've found a few bits and pieces but nothing complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32942"&gt;@gattoun&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-what-is-power-bi-embedded" target="_self"&gt;Power BI Embedded&lt;/A&gt; is being deprecated and doesn't support direct query to the sources other than Azure SQL database/datawarehouse. There's a good &lt;A href="https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app" target="_self"&gt;demo&lt;/A&gt; which shows how you can build a Power BI Embedded site.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If direct query mode is still preferred, then let's start with an Azure SQL database.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a report in Power BI desktop connecting the Azure SQL DB in direct query mode. Save the report as a pbix file.&lt;/LI&gt;
&lt;LI&gt;Import the pbix file to your workspace and update the connection string and crediential with &lt;STRONG&gt;ProvisionSample&lt;/STRONG&gt; in the demo.&lt;/LI&gt;
&lt;LI&gt;Embed the reports in your own app, following the&amp;nbsp;&lt;STRONG&gt;EmbedSample&lt;/STRONG&gt; in the demo.&amp;nbsp;As to RLS, following this &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_self"&gt;Row level security with Power BI Embedded&lt;/A&gt;&amp;nbsp;to generate RLS specific token.&lt;/LI&gt;
&lt;LI&gt;Deploy your application to Azure, see&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-deploy" target="_self"&gt;Deploy your app to Azure App Service&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;As I mentioned that PBI Embedded is being deprecated, the new replacement is&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/#embedding-with-non-power-bi-users" target="_self"&gt;Embedding with non-Power BI users&lt;/A&gt;. It is supporting direct query to SQL Server. The steps are a little different.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a report in Power BI desktop connecting the SQL Server&amp;nbsp;in direct query mode.&lt;/LI&gt;
&lt;LI&gt;Create a Power BI &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-service-create-apps/" target="_self"&gt;app workspace&lt;/A&gt;&amp;nbsp;and publish the report to the workspace in Power BI desktop.&lt;/LI&gt;
&lt;LI&gt;Install a gateway and configure datasource for the report.&lt;/LI&gt;
&lt;LI&gt;Following this &lt;A href="https://github.com/Microsoft/PowerBI-Developer-Samples" target="_self"&gt;APP OWNS DATA in this demo&lt;/A&gt; to embed the report. As to RLS, at this moment this feature is not available in the this replacement and it would come at earliest in next quarter.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Deploy your application to Azure, see&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-deploy" target="_self"&gt;Deploy your app to Azure App Service&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&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;</description>
    <pubDate>Mon, 03 Jul 2017 06:55:45 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-07-03T06:55:45Z</dc:date>
    <item>
      <title>Tutorial for Power BI Embedded + Azure + SQL Server + RLS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Tutorial-for-Power-BI-Embedded-Azure-SQL-Server-RLS/m-p/204627#M6519</link>
      <description>&lt;P&gt;Does anyone know of a start to finish tutorial for creating an Azure app with authentication that includes Power BI Embedded (using DirectQuery SQL server) and row-level security? I've found a few bits and pieces but nothing complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 18:28:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Tutorial-for-Power-BI-Embedded-Azure-SQL-Server-RLS/m-p/204627#M6519</guid>
      <dc:creator>gattoun</dc:creator>
      <dc:date>2017-06-30T18:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial for Power BI Embedded + Azure + SQL Server + RLS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Tutorial-for-Power-BI-Embedded-Azure-SQL-Server-RLS/m-p/205054#M6526</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32942"&gt;@gattoun&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Does anyone know of a start to finish tutorial for creating an Azure app with authentication that includes Power BI Embedded (using DirectQuery SQL server) and row-level security? I've found a few bits and pieces but nothing complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/32942"&gt;@gattoun&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-what-is-power-bi-embedded" target="_self"&gt;Power BI Embedded&lt;/A&gt; is being deprecated and doesn't support direct query to the sources other than Azure SQL database/datawarehouse. There's a good &lt;A href="https://github.com/Azure-Samples/power-bi-embedded-integrate-report-into-web-app" target="_self"&gt;demo&lt;/A&gt; which shows how you can build a Power BI Embedded site.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If direct query mode is still preferred, then let's start with an Azure SQL database.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a report in Power BI desktop connecting the Azure SQL DB in direct query mode. Save the report as a pbix file.&lt;/LI&gt;
&lt;LI&gt;Import the pbix file to your workspace and update the connection string and crediential with &lt;STRONG&gt;ProvisionSample&lt;/STRONG&gt; in the demo.&lt;/LI&gt;
&lt;LI&gt;Embed the reports in your own app, following the&amp;nbsp;&lt;STRONG&gt;EmbedSample&lt;/STRONG&gt; in the demo.&amp;nbsp;As to RLS, following this &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_self"&gt;Row level security with Power BI Embedded&lt;/A&gt;&amp;nbsp;to generate RLS specific token.&lt;/LI&gt;
&lt;LI&gt;Deploy your application to Azure, see&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-deploy" target="_self"&gt;Deploy your app to Azure App Service&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;As I mentioned that PBI Embedded is being deprecated, the new replacement is&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/#embedding-with-non-power-bi-users" target="_self"&gt;Embedding with non-Power BI users&lt;/A&gt;. It is supporting direct query to SQL Server. The steps are a little different.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a report in Power BI desktop connecting the SQL Server&amp;nbsp;in direct query mode.&lt;/LI&gt;
&lt;LI&gt;Create a Power BI &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-service-create-apps/" target="_self"&gt;app workspace&lt;/A&gt;&amp;nbsp;and publish the report to the workspace in Power BI desktop.&lt;/LI&gt;
&lt;LI&gt;Install a gateway and configure datasource for the report.&lt;/LI&gt;
&lt;LI&gt;Following this &lt;A href="https://github.com/Microsoft/PowerBI-Developer-Samples" target="_self"&gt;APP OWNS DATA in this demo&lt;/A&gt; to embed the report. As to RLS, at this moment this feature is not available in the this replacement and it would come at earliest in next quarter.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Deploy your application to Azure, see&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/app-service-web/web-sites-deploy" target="_self"&gt;Deploy your app to Azure App Service&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&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;</description>
      <pubDate>Mon, 03 Jul 2017 06:55:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Tutorial-for-Power-BI-Embedded-Azure-SQL-Server-RLS/m-p/205054#M6526</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-07-03T06:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Tutorial for Power BI Embedded + Azure + SQL Server + RLS</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Tutorial-for-Power-BI-Embedded-Azure-SQL-Server-RLS/m-p/229406#M7227</link>
      <description>&lt;P&gt;Hi Eric,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hate to hi-jack this question, but this scenario is very similiar to ours. &amp;nbsp;The primary difference is we are reporting off of a MySQL database and obviously not using DirectQuery, since it isn't supported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have got the&amp;nbsp;APP OWNS DATA project to work for us, but wanted to add RLS. &amp;nbsp;I didn't see a way to add the username and role to the token as described &lt;A title="Row level security with Power BI Embedded" href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-rls" target="_self"&gt;here&lt;/A&gt;, because as far as I can see,&amp;nbsp;&lt;SPAN&gt;PowerBIToken is not referenced in the APP OWNS DATA sample.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Am I understanding you correctly, that even in my scenario, RLS cannot be implemented in the APP OWNS DATA sample?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;David&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 15:33:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Tutorial-for-Power-BI-Embedded-Azure-SQL-Server-RLS/m-p/229406#M7227</guid>
      <dc:creator>datavigilante</dc:creator>
      <dc:date>2017-08-10T15:33:26Z</dc:date>
    </item>
  </channel>
</rss>

