<?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: Apps Owns Data Sample: groupId in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/289529#M8507</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/44870"&gt;@lferdinand&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;As per the &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/#embedding-for-your-customers" target="_self"&gt;online documentation&lt;/A&gt;, for the "App Owns Data" sample, a workspace is mandatory, though it was not limited.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;P class="1508910903558"&gt;&lt;EM&gt;When you are ready to move to production, your app workspace must be assigned to a capacity. Power BI Embedded, within Microsoft Azure, offers capacity to use with your applications.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;You could still try to comment out the below code snippet in Homecontroller.cs and change other part code in the sample, however &lt;STRONG&gt;it is not recommended&lt;/STRONG&gt;.&lt;/P&gt;
&lt;PRE&gt;            if (string.IsNullOrEmpty(GroupId))
            {
                return "GroupId is empty. Please select a group you own and fill its Id in web.config";
            }
    

            // Group Id must be a Guid object.
            if (!Guid.TryParse(GroupId, out result))
            {
                return "GroupId must be a Guid object. Please select a group you own and fill its Id in web.config";
            }&lt;/PRE&gt;</description>
    <pubDate>Wed, 25 Oct 2017 06:01:09 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-10-25T06:01:09Z</dc:date>
    <item>
      <title>Apps Owns Data Sample: groupId</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/288441#M8473</link>
      <description>&lt;P&gt;I'm stepping through the "App Owns Data" sample and have hit a wall...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Power BI - Embed Sample&lt;/P&gt;&lt;DIV&gt;GroupId is empty. Please select a group you own and fill its Id in web.config&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;A recent change in Power BI eliminated the GroupId in favor of App Workspaces.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;How can I adjust the sample to account for this and not require groupId in webconfig&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Oct 2017 01:54:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/288441#M8473</guid>
      <dc:creator>lferdinand</dc:creator>
      <dc:date>2017-10-24T01:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Apps Owns Data Sample: groupId</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/289529#M8507</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/44870"&gt;@lferdinand&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;As per the &lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/#embedding-for-your-customers" target="_self"&gt;online documentation&lt;/A&gt;, for the "App Owns Data" sample, a workspace is mandatory, though it was not limited.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;BR /&gt;
&lt;P class="1508910903558"&gt;&lt;EM&gt;When you are ready to move to production, your app workspace must be assigned to a capacity. Power BI Embedded, within Microsoft Azure, offers capacity to use with your applications.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;You could still try to comment out the below code snippet in Homecontroller.cs and change other part code in the sample, however &lt;STRONG&gt;it is not recommended&lt;/STRONG&gt;.&lt;/P&gt;
&lt;PRE&gt;            if (string.IsNullOrEmpty(GroupId))
            {
                return "GroupId is empty. Please select a group you own and fill its Id in web.config";
            }
    

            // Group Id must be a Guid object.
            if (!Guid.TryParse(GroupId, out result))
            {
                return "GroupId must be a Guid object. Please select a group you own and fill its Id in web.config";
            }&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Oct 2017 06:01:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/289529#M8507</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-10-25T06:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Apps Owns Data Sample: groupId</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/290233#M8522</link>
      <description>&lt;P&gt;Actually, it is possible to get a groupid from PowerBI.Apiary - so I used that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They still exist but appear to be hidden now behind the app workspace...&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2017 21:37:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/290233#M8522</guid>
      <dc:creator>lferdinand</dc:creator>
      <dc:date>2017-10-25T21:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Apps Owns Data Sample: groupId</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/390090#M11587</link>
      <description>&lt;P&gt;I was stuck at the same point, and only later figured this out.&lt;/P&gt;&lt;P&gt;The default workspace called "My Workspace" does not have a guid. But if you create a new "workspace", and click on it, the url clearly contains the group guId as also highlighted below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://app.powerbi.com/groups/" target="_blank"&gt;https://app.powerbi.com/groups/&lt;/A&gt;&lt;STRONG&gt;7c99fe0e-cea8d-4f15-bc8c-82af1c86c4a6&lt;/STRONG&gt;/groupwelcome&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just in case if anyone finds this useful.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 06:05:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Apps-Owns-Data-Sample-groupId/m-p/390090#M11587</guid>
      <dc:creator>mrclan</dc:creator>
      <dc:date>2018-04-05T06:05:03Z</dc:date>
    </item>
  </channel>
</rss>

