<?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: Import Statuses in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Import-Statuses/m-p/345744#M10251</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/48587"&gt;@dgdragon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After a few research, I haven't found any article/blog that has a full list of importStates. However, I did find a few more importStates:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Publishing&lt;/LI&gt;
&lt;LI&gt;Published&lt;/LI&gt;
&lt;LI&gt;Succeeded&lt;/LI&gt;
&lt;LI&gt;Failed&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Following is a use case of importStates.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;PRE&gt;                    // Example of polling the import to check when the import has finished.
                    while (import.ImportState != "Succeeded" &amp;amp;&amp;amp; import.ImportState != "Failed")
                    {
                        import = await client.Imports.GetImportByIdAsync(workspaceCollectionName, workspaceId, import.Id);
                        Console.WriteLine("Checking import state... {0}", import.ImportState);
                        Thread.Sleep(1000);
                    }&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2018 05:40:22 GMT</pubDate>
    <dc:creator>v-ljerr-msft</dc:creator>
    <dc:date>2018-01-26T05:40:22Z</dc:date>
    <item>
      <title>Import Statuses</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Import-Statuses/m-p/344753#M10249</link>
      <description>&lt;P&gt;When I import a PBIX file, I can get the import status using the route:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://api.powerbi.com/v1.0/myorg/groups/[org-id]/imports/[import-id" target="_blank"&gt;https://api.powerbi.com/v1.0/myorg/groups/[org-id]/imports/[import-id&lt;/A&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and it returns something similar to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
"id": "[import-id]",
"importState": "Succeeded",
"createdDateTime": "2018-01-24T19:14:31.527Z",
"updatedDateTime": "2018-01-24T19:14:31.527Z",
"name": "[name]",
"connectionType": "import",
"source": "Upload",
"datasets": [],
"reports":[]
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know what are the possible values are for "importState", is there a reference list somewhere?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 19:20:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Import-Statuses/m-p/344753#M10249</guid>
      <dc:creator>dgdragon</dc:creator>
      <dc:date>2018-01-24T19:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Import Statuses</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Import-Statuses/m-p/345744#M10251</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/48587"&gt;@dgdragon&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After a few research, I haven't found any article/blog that has a full list of importStates. However, I did find a few more importStates:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Publishing&lt;/LI&gt;
&lt;LI&gt;Published&lt;/LI&gt;
&lt;LI&gt;Succeeded&lt;/LI&gt;
&lt;LI&gt;Failed&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Following is a use case of importStates.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.fabric.microsoft.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;
&lt;PRE&gt;                    // Example of polling the import to check when the import has finished.
                    while (import.ImportState != "Succeeded" &amp;amp;&amp;amp; import.ImportState != "Failed")
                    {
                        import = await client.Imports.GetImportByIdAsync(workspaceCollectionName, workspaceId, import.Id);
                        Console.WriteLine("Checking import state... {0}", import.ImportState);
                        Thread.Sleep(1000);
                    }&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 05:40:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Import-Statuses/m-p/345744#M10251</guid>
      <dc:creator>v-ljerr-msft</dc:creator>
      <dc:date>2018-01-26T05:40:22Z</dc:date>
    </item>
  </channel>
</rss>

