<?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: OData Service Document format problems with PowerBI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/OData-Service-Document-format-problems-with-PowerBI/m-p/3993738#M53429</link>
    <description>&lt;P&gt;Unfortunately I can't really recall whether I got past this. We switched focus shortly after this and abandoned our OData work and I haven't dealt with it since. Sorry I can't be more help.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2024 16:44:31 GMT</pubDate>
    <dc:creator>mike-cullingham</dc:creator>
    <dc:date>2024-06-14T16:44:31Z</dc:date>
    <item>
      <title>OData Service Document format problems with PowerBI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/OData-Service-Document-format-problems-with-PowerBI/m-p/1425293#M26062</link>
      <description>&lt;P&gt;I'm attempting to add OData support to an existing node+express app. When I try to connect PowerBI with an OData Feed to my Service Document, the error message is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;"The format 'application/atomsvc+xml' is not supported"&lt;/STRONG&gt;. (I've also tried "text/plain", "application/xml", and "application/atom+xml" with similar error messages).&lt;/P&gt;&lt;P&gt;I'm constructing the service document based on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://docs.oasis-open.org/odata/odata-atom-format/v4.0/cs02/odata-atom-format-v4.0-cs02.html#_Service_Document" target="_blank" rel="nofollow noopener noreferrer"&gt;http://docs.oasis-open.org/odata/odata-atom-format/v4.0/cs02/odata-atom-format-v4.0-cs02.html#_Service_Document&lt;/A&gt;.&lt;/P&gt;&lt;PRE&gt;&amp;lt;service xmlns=&lt;SPAN class="hljs-string"&gt;"http://www.w3.org/2007/app"&lt;/SPAN&gt; xmlns:atom=&lt;SPAN class="hljs-string"&gt;"http://www.w3.org/2005/Atom"&lt;/SPAN&gt; xmlns:metadata=&lt;SPAN class="hljs-string"&gt;"http://docs.oasis-open.org/odata/ns/metadata"&lt;/SPAN&gt; xml:base=&lt;SPAN class="hljs-string"&gt;"https://&amp;lt;my-server&amp;gt;/api/odata/odata-xml.svc"&lt;/SPAN&gt; metadata:context=&lt;SPAN class="hljs-string"&gt;"$metadata"&lt;/SPAN&gt;&amp;gt;
&lt;SPAN class="xml"&gt;&lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;workspace&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;atom:title&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;Default&lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;atom:title&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;collection&lt;/SPAN&gt; &lt;SPAN class="hljs-attr"&gt;href&lt;/SPAN&gt;=&lt;SPAN class="hljs-string"&gt;"groups"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;atom:title&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;groups&lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;atom:title&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;collection&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;collection&lt;/SPAN&gt; &lt;SPAN class="hljs-attr"&gt;href&lt;/SPAN&gt;=&lt;SPAN class="hljs-string"&gt;"users"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
      &lt;SPAN class="hljs-tag"&gt;&amp;lt;&lt;SPAN class="hljs-name"&gt;atom:title&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;users&lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;atom:title&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;collection&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
  &lt;SPAN class="hljs-tag"&gt;&amp;lt;/&lt;SPAN class="hljs-name"&gt;workspace&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;
&amp;lt;/service&amp;gt;&lt;/PRE&gt;&lt;P&gt;I've tried serving this as an attachment, inline file, and as text with DataServiceVersion set to '1.0' to match the sample at&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://services.odata.org/northwind/northwind.svc" target="_blank" rel="nofollow noopener noreferrer"&gt;http://services.odata.org/northwind/northwind.svc&lt;/A&gt;, and can't see what's different. The OData-Version header is set to '4.0'.&lt;/P&gt;&lt;P&gt;I've temporarily disabled authentication and authorization on this endpoint to make sure it wasn't interfering with getting a basic connection going.&lt;/P&gt;&lt;P&gt;I also have defined the /api/odata/$metadata and a JSON service document at the root /api/odata but PowerBI isn't hitting those endpoints. From logging the headers that it sends, it seems like it should support all of these formats:&lt;/P&gt;&lt;PRE&gt;{
  &lt;SPAN class="hljs-attr"&gt;maxdataserviceversion&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'3.0'&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-string"&gt;'odata-maxversion'&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'4.0'&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-attr"&gt;accept&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'application/json;odata.metadata=minimal;q=1.0,application/json;odata=minimalmetadata;q=0.9,application/atomsvc+xml;q=0.8,application/atom+xml;q=0.8,application/xml;q=0.7,text/plain;q=0.7'&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-string"&gt;'accept-encoding'&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'gzip, deflate'&lt;/SPAN&gt;,
  &lt;SPAN class="hljs-attr"&gt;host&lt;/SPAN&gt;: &lt;SPAN class="hljs-string"&gt;'oas-testlab.spanoctane.com'&lt;/SPAN&gt;
}&lt;/PRE&gt;&lt;P&gt;I haven't found what formats&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;are&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;supported, just a bunch that aren't. Has anyone had any success building a node+express app that connects to PowerBI? OR do you notice anything blatantly obvious that's missing or wrong in what I've tried?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 23:57:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/OData-Service-Document-format-problems-with-PowerBI/m-p/1425293#M26062</guid>
      <dc:creator>mike-cullingham</dc:creator>
      <dc:date>2020-10-09T23:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: OData Service Document format problems with PowerBI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/OData-Service-Document-format-problems-with-PowerBI/m-p/3993356#M53425</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see there was never a response here but stumbled on this 4 years later and I am facing the exact same issue. I am wondering if you ever resolved it? There's no real documentation on how to fix this really sadly..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 12:54:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/OData-Service-Document-format-problems-with-PowerBI/m-p/3993356#M53425</guid>
      <dc:creator>Shaun_Yates</dc:creator>
      <dc:date>2024-06-14T12:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: OData Service Document format problems with PowerBI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/OData-Service-Document-format-problems-with-PowerBI/m-p/3993738#M53429</link>
      <description>&lt;P&gt;Unfortunately I can't really recall whether I got past this. We switched focus shortly after this and abandoned our OData work and I haven't dealt with it since. Sorry I can't be more help.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 16:44:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/OData-Service-Document-format-problems-with-PowerBI/m-p/3993738#M53429</guid>
      <dc:creator>mike-cullingham</dc:creator>
      <dc:date>2024-06-14T16:44:31Z</dc:date>
    </item>
  </channel>
</rss>

