<?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 Tom dataset refresh programatically in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Tom-dataset-refresh-programatically/m-p/2207181#M33136</link>
    <description>&lt;P&gt;When I try to connect to Power BI workspace using XMLA endpoint to refresh datset am getting "Invalid connection string format"&lt;/P&gt;&lt;P&gt;public static void ConnectToPowerBIAsUser()&lt;BR /&gt;{&lt;BR /&gt;string workspaceConnection = "powerbi://api.powerbi.com/v1.0/myorg/Superstoresales";&lt;BR /&gt;string userId = "test@nousinfo.com";&lt;BR /&gt;string password = "********";&lt;BR /&gt;string connectStringUser = $"DataSource={workspaceConnection};User ID={userId};Password={password};";&lt;BR /&gt;server.Connect(connectStringUser);&lt;BR /&gt;}&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="sowmyas_0-1637824151433.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/635892iE9DE4D9C2826C12D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sowmyas_0-1637824151433.png" alt="sowmyas_0-1637824151433.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we refresh TOM dataset using Premium Per User Power BI License or Do we require Premium per capacity license.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 07:10:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-11-25T07:10:29Z</dc:date>
    <item>
      <title>Tom dataset refresh programatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Tom-dataset-refresh-programatically/m-p/2207181#M33136</link>
      <description>&lt;P&gt;When I try to connect to Power BI workspace using XMLA endpoint to refresh datset am getting "Invalid connection string format"&lt;/P&gt;&lt;P&gt;public static void ConnectToPowerBIAsUser()&lt;BR /&gt;{&lt;BR /&gt;string workspaceConnection = "powerbi://api.powerbi.com/v1.0/myorg/Superstoresales";&lt;BR /&gt;string userId = "test@nousinfo.com";&lt;BR /&gt;string password = "********";&lt;BR /&gt;string connectStringUser = $"DataSource={workspaceConnection};User ID={userId};Password={password};";&lt;BR /&gt;server.Connect(connectStringUser);&lt;BR /&gt;}&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="sowmyas_0-1637824151433.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/635892iE9DE4D9C2826C12D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sowmyas_0-1637824151433.png" alt="sowmyas_0-1637824151433.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can we refresh TOM dataset using Premium Per User Power BI License or Do we require Premium per capacity license.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 07:10:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Tom-dataset-refresh-programatically/m-p/2207181#M33136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-11-25T07:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: Tom dataset refresh programatically</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Tom-dataset-refresh-programatically/m-p/2211063#M33190</link>
      <description>&lt;P&gt;We can&amp;nbsp;&lt;SPAN&gt;refresh TOM dataset using PPU.This may be a credential problem. Please see the limitations here and choose the correct access method:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Single-user application&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- The application uses a single user account or app identity to access a Power BI dataset through the XMLA endpoint. Typical examples are developer tools, admin scripts, and automated processes to perform data modelling and administrative tasks, such as altering the metadata of a dataset, performing a backup or restore operation, or triggering a data refresh. The user account or app identity that the client application uses to access a dataset must have a valid Premium Per User (PPU) license unless the dataset resides on a Premium capacity.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Multi-user application&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- The application provides multiple users with access to a Power BI dataset. For example, a middle-tier application integrating a dataset into a business solution and accessing the dataset on behalf of its business users.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For Premium Per User (PPU) workspaces, the application must require each user to sign in to Power BI. The application uses each user’s access token to access the datasets. The application is not permitted to use a service account or other app identity to perform tasks on behalf of its users. Each user must use their own Power BI account for opening reports, accessing datasets, and executing queries.&lt;/LI&gt;
&lt;LI&gt;For Premium workspaces, the application may use a service account or app identity on behalf of the end users without requiring each user to sign in to Power BI.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/admin/service-premium-connect-tools#terms-of-use" target="_self"&gt;https://docs.microsoft.com/en-us/power-bi/admin/service-premium-connect-tools#terms-of-use&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 02:23:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Tom-dataset-refresh-programatically/m-p/2211063#M33190</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-11-29T02:23:17Z</dc:date>
    </item>
  </channel>
</rss>

