<?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 sources shared between workspaces? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Data-sources-shared-between-workspaces/m-p/746704#M20081</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm researching how to integrate power bi in my company's products. So far, the selected approach is using power bi embedded, service principal, azure capacity, and multy-tenancy using workspace-based isolation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The report i'm using for tests, have a web api data source with basic authentication. The problem i've noticed is that when i upload the report to two workspaces, instead of getting separate data sources, they points to single data source in the default gataway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;workspace1 -&amp;gt; test report -&amp;gt; dataset1 -&amp;gt; datasource 1&lt;/P&gt;&lt;P&gt;workspace2 -&amp;gt; test report -&amp;gt; dataset2 -&amp;gt; datasource 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As result i can't set the&amp;nbsp;corresponding datasource credentials for each workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Technical details:&lt;/P&gt;&lt;P&gt;I'm using C# Microsoft.PowerBI.Api, single user with admin access to both workspaces.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reports are uploaded through Imports.PostImportWithFileAsync(), then i use&amp;nbsp;Gateways.UpdateDatasourceAsync() to update credentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm i missing a setting somewhere, or i'm on a wrong path at all?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jul 2019 12:20:35 GMT</pubDate>
    <dc:creator>PeterPetkov</dc:creator>
    <dc:date>2019-07-23T12:20:35Z</dc:date>
    <item>
      <title>Data sources shared between workspaces?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-sources-shared-between-workspaces/m-p/746704#M20081</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm researching how to integrate power bi in my company's products. So far, the selected approach is using power bi embedded, service principal, azure capacity, and multy-tenancy using workspace-based isolation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The report i'm using for tests, have a web api data source with basic authentication. The problem i've noticed is that when i upload the report to two workspaces, instead of getting separate data sources, they points to single data source in the default gataway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;workspace1 -&amp;gt; test report -&amp;gt; dataset1 -&amp;gt; datasource 1&lt;/P&gt;&lt;P&gt;workspace2 -&amp;gt; test report -&amp;gt; dataset2 -&amp;gt; datasource 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As result i can't set the&amp;nbsp;corresponding datasource credentials for each workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Technical details:&lt;/P&gt;&lt;P&gt;I'm using C# Microsoft.PowerBI.Api, single user with admin access to both workspaces.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reports are uploaded through Imports.PostImportWithFileAsync(), then i use&amp;nbsp;Gateways.UpdateDatasourceAsync() to update credentials&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm i missing a setting somewhere, or i'm on a wrong path at all?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 12:20:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-sources-shared-between-workspaces/m-p/746704#M20081</guid>
      <dc:creator>PeterPetkov</dc:creator>
      <dc:date>2019-07-23T12:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data sources shared between workspaces?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-sources-shared-between-workspaces/m-p/3046959#M40923</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/155647"&gt;@PeterPetkov&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;do you have any progress on this? I am currently facing the same issue.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 10:18:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-sources-shared-between-workspaces/m-p/3046959#M40923</guid>
      <dc:creator>petrVolfMBI</dc:creator>
      <dc:date>2023-01-27T10:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Data sources shared between workspaces?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Data-sources-shared-between-workspaces/m-p/3047111#M40928</link>
      <description>&lt;P&gt;Yes.&lt;BR /&gt;After report is uploaded, i'm creating a new datasource using&lt;BR /&gt;UpdateDatasourceConnectionRequest and UpdateDatasourcesRequest classes and calling&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;client.Datasets.UpdateDatasourcesInGroupAsync(workspaceId, datasetId, updateDatasourceRequest);&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 27 Jan 2023 11:49:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Data-sources-shared-between-workspaces/m-p/3047111#M40928</guid>
      <dc:creator>PeterPetkov</dc:creator>
      <dc:date>2023-01-27T11:49:33Z</dc:date>
    </item>
  </channel>
</rss>

