<?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: Power BI Service refresh failures caused by intermittent Databricks credential invalidation in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/power-bi-service-refresh-failures-caused-by-intermittent/m-p/152876#M5096</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is a known issue with how the Power BI Service handles OAuth refresh tokens with Databricks. Databricks enables Single-Use Refresh Tokens (SURTs) by default for Power BI integrations. If a token refresh fails mid-flight (network hiccup, timing, etc.), the old token is consumed, but the new one is never stored, leaving the connection in a state that requires manual re-authentication.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Recommended fix: Switch to M2M OAuth with a Databricks Service Principal. This uses client credentials instead of user-bound refresh tokens, which eliminates the problem entirely. It's GA and documented here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;A href="https://docs.databricks.com/en/partners/bi/power-bi.html" target="_blank"&gt;&lt;SPAN&gt;Power BI integration overview&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;A href="https://docs.databricks.com/en/partners/bi/power-bi-service.html" target="_blank"&gt;&lt;SPAN&gt;Power BI Service connection setup&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Note: M2M OAuth is configured &lt;/SPAN&gt;&lt;I&gt;&lt;SPAN&gt;after&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt; publishing your semantic model — go to the semantic model's Data source credentials -&amp;gt; Edit Credentials -&amp;gt; Basic, then enter your service principal's application ID and secret.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Other things to check in parallel:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Entra ID Conditional Access policies: these can enforce shorter session lifetimes that conflict with refresh schedules&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Raise a Microsoft support case:&amp;nbsp; the DMTS_OAuthTokenRefreshFailedError is in Microsoft-owned code, so they may have additional mitigations on their side&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Contact Databricks support to request disabling SURTs for the Power BI app integration on your account and extending refresh token TTL&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;I hope that helps, let me know if you have any questions.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2026 08:56:56 GMT</pubDate>
    <dc:creator>emma_s</dc:creator>
    <dc:date>2026-04-01T08:56:56Z</dc:date>
    <item>
      <title>Power BI Service refresh failures caused by intermittent Databricks credential invalidation</title>
      <link>https://community.databricks.com/t5/administration-architecture/power-bi-service-refresh-failures-caused-by-intermittent/m-p/152765#M5094</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hi everyone,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are experiencing an intermittent issue in &lt;STRONG&gt;Power BI Service&lt;/STRONG&gt; where datasets and dataflows connected directly to &lt;STRONG&gt;Databricks&lt;/STRONG&gt; start failing refreshes because the credentials appear to be lost or invalidated, even though no manual changes were made.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Scenario:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Direct connection from Power BI Service to Databricks (no gateway involved)&lt;/LI&gt;&lt;LI&gt;Databricks SQL Warehouse (Serverless) is being used&lt;/LI&gt;&lt;LI&gt;Authentication using either OAuth or a Databricks personal access token&lt;/LI&gt;&lt;LI&gt;Everything works fine for a period of time, then refreshes suddenly fail asking for credentials again&lt;/LI&gt;&lt;LI&gt;After re-entering and saving the credentials, the refresh works normally again&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The connection is made using the &lt;STRONG&gt;DatabricksMultiCloud.Catalogs&lt;/STRONG&gt; connector, pointing to a specific catalog.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error message:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Data source error: Retry attempts for failures while executing the refresh exceeded the retry limit&lt;/LI&gt;&lt;LI&gt;Error code: &lt;STRONG&gt;DMTS_OAuthTokenRefreshFailedError&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Underlying error: OAuth token refresh failed while requesting a Databricks OIDC token&lt;/LI&gt;&lt;LI&gt;HTTP status: &lt;STRONG&gt;400 (Bad Request)&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;My question:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Has anyone experienced this kind of intermittent credential loss between Power BI Service and Databricks when using SQL Warehouse Serverless?&lt;/LI&gt;&lt;LI&gt;Are there any known limitations, recommended configurations, or best practices to prevent credentials from expiring or being invalidated automatically in this setup?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The goal is to understand the root cause and avoid having to manually reauthenticate every time the issue occurs.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks in advance!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2026 15:57:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/power-bi-service-refresh-failures-caused-by-intermittent/m-p/152765#M5094</guid>
      <dc:creator>luiz_felipe</dc:creator>
      <dc:date>2026-03-31T15:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Service refresh failures caused by intermittent Databricks credential invalidation</title>
      <link>https://community.databricks.com/t5/administration-architecture/power-bi-service-refresh-failures-caused-by-intermittent/m-p/152876#M5096</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This is a known issue with how the Power BI Service handles OAuth refresh tokens with Databricks. Databricks enables Single-Use Refresh Tokens (SURTs) by default for Power BI integrations. If a token refresh fails mid-flight (network hiccup, timing, etc.), the old token is consumed, but the new one is never stored, leaving the connection in a state that requires manual re-authentication.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Recommended fix: Switch to M2M OAuth with a Databricks Service Principal. This uses client credentials instead of user-bound refresh tokens, which eliminates the problem entirely. It's GA and documented here:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;A href="https://docs.databricks.com/en/partners/bi/power-bi.html" target="_blank"&gt;&lt;SPAN&gt;Power BI integration overview&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;A href="https://docs.databricks.com/en/partners/bi/power-bi-service.html" target="_blank"&gt;&lt;SPAN&gt;Power BI Service connection setup&lt;/SPAN&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;Note: M2M OAuth is configured &lt;/SPAN&gt;&lt;I&gt;&lt;SPAN&gt;after&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt; publishing your semantic model — go to the semantic model's Data source credentials -&amp;gt; Edit Credentials -&amp;gt; Basic, then enter your service principal's application ID and secret.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Other things to check in parallel:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Entra ID Conditional Access policies: these can enforce shorter session lifetimes that conflict with refresh schedules&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Raise a Microsoft support case:&amp;nbsp; the DMTS_OAuthTokenRefreshFailedError is in Microsoft-owned code, so they may have additional mitigations on their side&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="1"&gt;&lt;SPAN&gt;Contact Databricks support to request disabling SURTs for the Power BI app integration on your account and extending refresh token TTL&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;I hope that helps, let me know if you have any questions.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2026 08:56:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/power-bi-service-refresh-failures-caused-by-intermittent/m-p/152876#M5096</guid>
      <dc:creator>emma_s</dc:creator>
      <dc:date>2026-04-01T08:56:56Z</dc:date>
    </item>
  </channel>
</rss>

