<?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: sqlEndPoint metadata refresh in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4782053#M11372</link>
    <description>&lt;P&gt;it believes that a refresh is not necessary in the current circumstances.&lt;/P&gt;</description>
    <pubDate>Thu, 31 Jul 2025 01:45:29 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-07-31T01:45:29Z</dc:date>
    <item>
      <title>sqlEndPoint metadata refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4782003#M11369</link>
      <description>&lt;LI-CODE lang="markup"&gt;curl -X POST \
  "https://api.fabric.microsoft.com/v1/workspaces/&amp;lt;ws_id&amp;gt;/sqlEndpoints/&amp;lt;sql_enddpoint_id&amp;gt;/refreshMetadata" \
  -H "Authorization: Bearer &amp;lt;your-access-token&amp;gt;" \
  -H "Content-Type: application/json" \
  -d '{"timeout": {"timeUnit": "Minutes", "value": 10}}'&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I keep on getting Response code 200, I was expecting 202.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a result, I am getting&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{
  "value": [
    {
      "tableName": "test",
      "status": "NotRun",
      "startDateTime": "2025-07-31T00:07:15.0306056Z",
      "endDateTime": "2025-07-31T00:07:15.5150298Z",
      "lastSuccessfulSyncDateTime": "2025-06-05T02:29:01.543114Z",
      "error": null
    }]}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why is it only returning TableSync Status and not triggering a refresh?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do I understand that I need to make the service call immediately following a transaction such as following? Else it will show as NotRun if the background jobs deems it is not necessary to refresh the metadata?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;def acid_transaction():
    # do something
def refresh_metadata ():
    # refresh metadata

# pseudo workflow
acid_transaction()
   ↓
refresh_metdata()
         
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 02:46:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4782003#M11369</guid>
      <dc:creator>smpa01</dc:creator>
      <dc:date>2025-07-31T02:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: sqlEndPoint metadata refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4782053#M11372</link>
      <description>&lt;P&gt;it believes that a refresh is not necessary in the current circumstances.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 01:45:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4782053#M11372</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-07-31T01:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: sqlEndPoint metadata refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4790605#M11583</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for sharing this in Microsoft Fabric Community.&lt;BR /&gt;As mentioned by &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/100342"&gt;@lbendlin&lt;/a&gt;&amp;nbsp;, the behavior you're seeing is expected. The refreshMetadata call checks if a refresh is needed based on recent changes, and if it determines that there's no schema change or update requiring sync, it completes with a 200 response and status as NotRun.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This means the service has received the request but didn't find any reason to run the refresh job.&lt;/P&gt;
&lt;P&gt;As you pointed out, if the preceding transaction didn't introduce any structural changes to the table, this outcome is expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Blog Reference :&amp;nbsp;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/refresh-sql-analytics-endpoint-metadata-rest-api-now-in-ga/" target="_blank"&gt;Refresh SQL analytics endpoint Metadata REST API (Generally Available) | Microsoft Fabric Blog | Microsoft Fabric&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please reach out for further assistance.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 18:45:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4790605#M11583</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2025-08-07T18:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: sqlEndPoint metadata refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4792679#M11626</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Just checking in to see if you query is resolved and if any responses were helpful.&lt;BR /&gt;Otherwise, feel free to reach out for further assistance.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 05:10:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4792679#M11626</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2025-08-11T05:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: sqlEndPoint metadata refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4799345#M11782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Just wanted to check if the responses provided were helpful. If further assistance is needed, please reach out.&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 05:53:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4799345#M11782</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2025-08-18T05:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: sqlEndPoint metadata refresh</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4804457#M11884</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/24978"&gt;@smpa01&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Following up to see if your query is resolved and if any of the responses helped.&lt;BR /&gt;If you're still facing issues, feel free to reach out.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 04:49:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/sqlEndPoint-metadata-refresh/m-p/4804457#M11884</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2025-08-22T04:49:54Z</dc:date>
    </item>
  </channel>
</rss>

