<?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: Multi Tenancy From Desktop Application in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Multi-Tenancy-From-Desktop-Application/m-p/140846#M4871</link>
    <description>&lt;P&gt;See the extract from here:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-iframe" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-iframe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lf-text-block lf-block"&gt;&lt;EM&gt;In production, we can also set the different connection string for each workspace using REST API. (i.e, we can separate the database for each customers.)&lt;/EM&gt;&lt;/P&gt;&lt;P class="lf-text-block lf-block"&gt;&lt;EM&gt;The following is changing the connection string of datasource via REST.&lt;/EM&gt;&lt;/P&gt;&lt;P class="lf-text-block lf-block"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;POST https://api.powerbi.com/v1.0/collections/mypbiapp/workspaces/32960a09-6366-4208-a8bb-9e0678cdbb9d/datasets/458e0451-7215-4029-80b3-9627bf3417b0/Default.SetAllConnections
Authorization: AppKey MpaUgrTv5e...
Content-Type: application/json; charset=utf-8

{
  "connectionString": "data source=testserver02.database.windows.net;initial catalog=testdb02;persist security info=True;encrypt=True;trustservercertificate=False"
}&lt;/PRE&gt;</description>
    <pubDate>Sat, 11 Mar 2017 17:39:38 GMT</pubDate>
    <dc:creator>PowerDAX</dc:creator>
    <dc:date>2017-03-11T17:39:38Z</dc:date>
    <item>
      <title>Multi Tenancy From Desktop Application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-Tenancy-From-Desktop-Application/m-p/140476#M4870</link>
      <description>&lt;P&gt;Hi;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;looking at the feasability of swtiching from our current BI solution to Power BI but ran into a question that I cannot seem to find an answer to.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 - Each of our clients have their own database.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 - Currently we embed a broswer into our desktop application, and then browse to the requested dashboard.&lt;/P&gt;&lt;P&gt;3 - We are an SAAS company and currently host all the "cubes" of data. There is a cube per client, each points to a different server/database.&lt;/P&gt;&lt;P&gt;4 - The datasets/cubes are all identical, the only difference is the data source.&lt;/P&gt;&lt;P&gt;5 - Security is controlled by our application based on the user that logs in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible with Power BI? I have been reading through the Power BI Embedded information, but I cant quite pin down if it supports this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 16:00:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-Tenancy-From-Desktop-Application/m-p/140476#M4870</guid>
      <dc:creator>DaveFL</dc:creator>
      <dc:date>2017-03-10T16:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multi Tenancy From Desktop Application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Multi-Tenancy-From-Desktop-Application/m-p/140846#M4871</link>
      <description>&lt;P&gt;See the extract from here:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-iframe" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-iframe&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lf-text-block lf-block"&gt;&lt;EM&gt;In production, we can also set the different connection string for each workspace using REST API. (i.e, we can separate the database for each customers.)&lt;/EM&gt;&lt;/P&gt;&lt;P class="lf-text-block lf-block"&gt;&lt;EM&gt;The following is changing the connection string of datasource via REST.&lt;/EM&gt;&lt;/P&gt;&lt;P class="lf-text-block lf-block"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;POST https://api.powerbi.com/v1.0/collections/mypbiapp/workspaces/32960a09-6366-4208-a8bb-9e0678cdbb9d/datasets/458e0451-7215-4029-80b3-9627bf3417b0/Default.SetAllConnections
Authorization: AppKey MpaUgrTv5e...
Content-Type: application/json; charset=utf-8

{
  "connectionString": "data source=testserver02.database.windows.net;initial catalog=testdb02;persist security info=True;encrypt=True;trustservercertificate=False"
}&lt;/PRE&gt;</description>
      <pubDate>Sat, 11 Mar 2017 17:39:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Multi-Tenancy-From-Desktop-Application/m-p/140846#M4871</guid>
      <dc:creator>PowerDAX</dc:creator>
      <dc:date>2017-03-11T17:39:38Z</dc:date>
    </item>
  </channel>
</rss>

