<?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 Create dataset in PowerBI with Rest API to Azure Analysis Services in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Create-dataset-in-PowerBI-with-Rest-API-to-Azure-Analysis/m-p/828784#M21198</link>
    <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to create a dataset pointing to Azure Analysis Services via the REST API's:&lt;BR /&gt;&lt;A title="" href="https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_postdatasetingroup" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Push Datasets - Datasets PostDatasetInGroup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;"name": "ApiTestAasDataset",&lt;BR /&gt;"isRefreshable": false,&lt;BR /&gt;"isEffectiveIdentityRequired": true,&lt;BR /&gt;"isEffectiveIdentityRolesRequired": false,&lt;BR /&gt;"isOnPremGatewayRequired": false,&lt;BR /&gt;"datasources": [&lt;BR /&gt;  {&lt;BR /&gt;   "datasourceType": "AnalysisServices",&lt;BR /&gt;   "connectionDetails": {&lt;BR /&gt;   "server": "asazure://westeurope.asazure.windows.net/testanalysisalf:rw",&lt;BR /&gt;   "database": "alf"&lt;BR /&gt;  },&lt;BR /&gt;"connectionString": "Provider=MSOLAP;Data Source=asazure://westeurope.asazure.windows.net/testanalysisalf;Initial Catalog=alf;Cube=Model;User ID=myname@mydomain.com;Persist Security Info=True;Impersonation Level=Impersonate"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"tables": []&lt;BR /&gt;"defaultMode": "AsAzure"&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The response it's always 400:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "error": {
    "code": "FailedToDeserializeDatasetError",
    "pbi.error": {
      "code": "FailedToDeserializeDatasetError",
      "parameters": {},
      "details": [],
      "exceptionCulprit": 1
    }
  }
}&lt;/PRE&gt;&lt;P&gt;Any sugestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much and best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Alfredo&lt;/P&gt;</description>
    <pubDate>Fri, 25 Oct 2019 15:17:48 GMT</pubDate>
    <dc:creator>alfdagos</dc:creator>
    <dc:date>2019-10-25T15:17:48Z</dc:date>
    <item>
      <title>Create dataset in PowerBI with Rest API to Azure Analysis Services</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Create-dataset-in-PowerBI-with-Rest-API-to-Azure-Analysis/m-p/828784#M21198</link>
      <description>&lt;P&gt;Hi all!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been trying to create a dataset pointing to Azure Analysis Services via the REST API's:&lt;BR /&gt;&lt;A title="" href="https://docs.microsoft.com/en-us/rest/api/power-bi/pushdatasets/datasets_postdatasetingroup" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;Push Datasets - Datasets PostDatasetInGroup&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;"name": "ApiTestAasDataset",&lt;BR /&gt;"isRefreshable": false,&lt;BR /&gt;"isEffectiveIdentityRequired": true,&lt;BR /&gt;"isEffectiveIdentityRolesRequired": false,&lt;BR /&gt;"isOnPremGatewayRequired": false,&lt;BR /&gt;"datasources": [&lt;BR /&gt;  {&lt;BR /&gt;   "datasourceType": "AnalysisServices",&lt;BR /&gt;   "connectionDetails": {&lt;BR /&gt;   "server": "asazure://westeurope.asazure.windows.net/testanalysisalf:rw",&lt;BR /&gt;   "database": "alf"&lt;BR /&gt;  },&lt;BR /&gt;"connectionString": "Provider=MSOLAP;Data Source=asazure://westeurope.asazure.windows.net/testanalysisalf;Initial Catalog=alf;Cube=Model;User ID=myname@mydomain.com;Persist Security Info=True;Impersonation Level=Impersonate"&lt;BR /&gt;}&lt;BR /&gt;],&lt;BR /&gt;"tables": []&lt;BR /&gt;"defaultMode": "AsAzure"&lt;BR /&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The response it's always 400:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
  "error": {
    "code": "FailedToDeserializeDatasetError",
    "pbi.error": {
      "code": "FailedToDeserializeDatasetError",
      "parameters": {},
      "details": [],
      "exceptionCulprit": 1
    }
  }
}&lt;/PRE&gt;&lt;P&gt;Any sugestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much and best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Alfredo&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 15:17:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Create-dataset-in-PowerBI-with-Rest-API-to-Azure-Analysis/m-p/828784#M21198</guid>
      <dc:creator>alfdagos</dc:creator>
      <dc:date>2019-10-25T15:17:48Z</dc:date>
    </item>
  </channel>
</rss>

