<?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: Scheduled refresh randomly failing every day recently with Data Source Error in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5156053#M43389</link>
    <description>&lt;P&gt;Thanks Grazitti for your solution! I tried to give more time gap on scheduled refresh time for my reports, will see if that's helpful.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2026 15:33:43 GMT</pubDate>
    <dc:creator>Gris</dc:creator>
    <dc:date>2026-04-22T15:33:43Z</dc:date>
    <item>
      <title>Scheduled refresh randomly failing every day recently with Data Source Error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5155715#M43383</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have couple PBI reports with data source from one sharepoint site, and they were refreshed successfully in past years until recently. The scheduled refresh randomly failed on multiple reports with below error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data source errorDataSource.Error: SharePoint: Request failed: Unable to connect to the remote server. Microsoft.Data.Mashup.ErrorCode = 10122. Microsoft.Data.Mashup.ValueError.DataSourceKind = SharePoint.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error is not happening on every refresh, around 80% of refreshes are successful; The error is not happening for every report with the same datasource, 80% of the reports are still fine, not sure what caused this issue, quite annoying.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 01:49:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5155715#M43383</guid>
      <dc:creator>Gris</dc:creator>
      <dc:date>2026-04-22T01:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled refresh randomly failing every day recently with Data Source Error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5155754#M43385</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/506657"&gt;@Gris&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This issue is due to unavilability of Sharepoint site, this could be because of one of the reasons below:-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;SharePoint throttling (MOST COMMON) - When there are multiple refresh requests or there are large/many API calls, sharepoint starts limiting requests which results in refresh failure as the request either get's timeout or is blocked by share point&lt;/LI&gt;
&lt;LI&gt;Too many parallel refreshes from Power BI, make sure you have some time gap for other reports and they are not hitting sharepoint at the same time&lt;/LI&gt;
&lt;LI&gt;if you are using gateway - check gateway stability&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt; I hope this solution helps you unlock your Power BI potential! If you found it helpful, click '&lt;STRONG&gt;Mark as Solution&lt;/STRONG&gt;' to guide others toward the answers they need.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; Love the effort? Drop the kudos! Your appreciation fuels community spirit and innovation.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":military_medal:"&gt;🎖&lt;/span&gt; As a proud &lt;STRONG&gt;SuperUser&lt;/STRONG&gt; and &lt;STRONG&gt;Microsoft Partner&lt;/STRONG&gt;, we’re here to empower your data journey and the Power BI Community at large.&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":link:"&gt;🔗&lt;/span&gt; Curious to explore more? [&lt;A href="https://www.grazitti.com/services/data-science/solutions/data-visualization/?utm_source=community&amp;amp;utm_medium=powerbi-community&amp;amp;utm_campaign=Community-Outreach-By-Analytics" target="_self"&gt;Discover here&lt;/A&gt;].&lt;BR /&gt;&lt;STRONG&gt;Let’s keep building smarter solutions together!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 04:52:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5155754#M43385</guid>
      <dc:creator>grazitti_sapna</dc:creator>
      <dc:date>2026-04-22T04:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled refresh randomly failing every day recently with Data Source Error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5155801#M43386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/506657"&gt;@Gris&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Error code &lt;STRONG&gt;10122&lt;/STRONG&gt; in Power BI's Mashup engine means &lt;STRONG&gt;the connection to the remote server timed out or was refused&lt;/STRONG&gt;&amp;nbsp;- not a permissions error. The intermittent, ~20% failure rate pattern is the classic signature of &lt;STRONG&gt;OAuth access token expiry mid-refresh&lt;/STRONG&gt; combined with transient SharePoint Online throttling.&lt;/P&gt;&lt;P class=""&gt;OAuth access tokens are valid for around 60–90 minutes. When Power BI Service connects to SharePoint Online, it obtains a token at the start of the refresh. If the data load runs long or the token isn't renewed in time, the connection drops — which is exactly why it fails randomly and not every time.&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;Try the below steps:&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;H4&gt;&lt;FONT color="#000000"&gt;Fix 1: Re-authenticate the Data Source Credentials&amp;nbsp;&lt;/FONT&gt;&lt;/H4&gt;&lt;P class=""&gt;This is the most common fix for your exact symptom.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Go to &lt;STRONG&gt;app.powerbi.com → Workspace → Datasets&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Click the &lt;STRONG&gt;⋮ menu → Settings&lt;/STRONG&gt; on each affected dataset&lt;/LI&gt;&lt;LI&gt;Go to &lt;STRONG&gt;Data source credentials&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Click &lt;STRONG&gt;Edit credentials&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Set Authentication Method to &lt;STRONG&gt;OAuth2&lt;/STRONG&gt; and &lt;STRONG&gt;sign in again&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;Save and trigger a manual refresh&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;This resolves the issue when the OAuth refresh token used by Power BI Service has expired or gone stale — Power BI will then use a fresh token going forward. &lt;SPAN class=""&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Service/Issue-with-Data-Refresh-in-Power-BI-Service-Token-Expiry-Error/m-p/4406859" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Microsoft Fabric Community&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;H4&gt;&lt;FONT color="#000000"&gt;Fix 2: Switch to a Service Principal (Permanent Fix)&lt;/FONT&gt;&lt;/H4&gt;&lt;P class=""&gt;For SharePoint Online, configure an App Registration with a Client Secret or Certificate and authenticate using a Service Principal. Service Principals do not expire like user tokens, are not tied to individual user accounts, and offer far more stable scheduled refreshes.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Register an app in &lt;STRONG&gt;Azure Entra ID (Azure AD)&lt;/STRONG&gt; with SharePoint permissions (Sites.Read.All)&lt;/LI&gt;&lt;LI&gt;Grant admin consent&lt;/LI&gt;&lt;LI&gt;In Power BI dataset settings, update credentials to use the Service Principal (Client ID + Secret)&lt;/LI&gt;&lt;/OL&gt;&lt;P class=""&gt;This eliminates the problem permanently.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;H4&gt;&lt;FONT color="#000000"&gt;Fix 3: If Using an On-Premises Gateway — Update &amp;amp; Re-enter Credentials&lt;/FONT&gt;&lt;/H4&gt;&lt;P class=""&gt;Make sure the account used in the Gateway is an &lt;STRONG&gt;Owner&lt;/STRONG&gt; (not just Member) on the SharePoint Site — this has resolved intermittent refresh failures for multiple organizations. &lt;SPAN class=""&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Desktop/Sharepoint-files-fail-to-refresh-intermittently/td-p/1736647" target="_blank" rel="noopener"&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Microsoft Fabric Community&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;Also:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Update your gateway to the latest version&lt;/LI&gt;&lt;LI&gt;Go to &lt;STRONG&gt;Settings → Manage connections and gateways → Edit&lt;/STRONG&gt; the SharePoint data source → re-enter OAuth credentials&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H4&gt;&lt;FONT color="#000000"&gt;Fix 4: Switch SharePoint Connector URL Format&lt;/FONT&gt;&lt;/H4&gt;&lt;P class=""&gt;If using the SharePoint Folder connector, try switching to the &lt;STRONG&gt;Web connector&lt;/STRONG&gt; instead, using the direct file URL format: &lt;A href="https://yourorg.sharepoint.com/sites/" target="_blank" rel="noopener"&gt;https://yourorg.sharepoint.com/sites/&lt;/A&gt;&amp;lt;sitename&amp;gt;/Shared Documents/&amp;lt;filename&amp;gt;.xlsx&lt;/P&gt;&lt;P class=""&gt;Also clear cached permissions first via: File → Options and Settings → Data Source Settings → Global permissions → Clear permissions for the SharePoint source.&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;H4&gt;&lt;FONT color="#000000"&gt;Fix 5: Stagger Your Scheduled Refresh Times&lt;/FONT&gt;&lt;/H4&gt;&lt;P class=""&gt;Since the failure is intermittent and affects only some reports, SharePoint Online may be &lt;STRONG&gt;throttling&lt;/STRONG&gt; simultaneous requests from multiple reports hitting the same site. Spread your refresh schedules by 15–30 minutes across reports to avoid simultaneous connections to the same SharePoint site.&lt;/P&gt;&lt;H3&gt;&lt;FONT color="#000000"&gt;Why Only 20% Fail / Only Some Reports?&lt;/FONT&gt;&lt;/H3&gt;&lt;P class=""&gt;This is because:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Reports with &lt;STRONG&gt;smaller datasets&lt;/STRONG&gt; complete before the token window closes → succeed&lt;/LI&gt;&lt;LI&gt;Reports with &lt;STRONG&gt;larger or more complex queries&lt;/STRONG&gt; run longer → token lapses → fail&lt;/LI&gt;&lt;LI&gt;If a data load runs over the OAuth token window, Power BI reports a connection failure — and this applies specifically to SharePoint Online as a data source&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this resolves your problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;GainInsights Solution&lt;/P&gt;&lt;P&gt;Trusted Microsoft Partner -&amp;nbsp;&lt;A href="https://gain-insights.com/partnerships/microsoft/" target="_blank" rel="noopener"&gt;https://gain-insights.com/partnerships/microsoft/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="http://www.gain-insights.com" target="_blank" rel="noopener"&gt;www.gain-insights.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 06:51:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5155801#M43386</guid>
      <dc:creator>SharmilaBrisca</dc:creator>
      <dc:date>2026-04-22T06:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled refresh randomly failing every day recently with Data Source Error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5156052#M43388</link>
      <description>&lt;P&gt;Thanks Sharmila Brisca for your detail instructions! I applied several of them and will monitor to see if i can get less failures.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 15:29:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5156052#M43388</guid>
      <dc:creator>Gris</dc:creator>
      <dc:date>2026-04-22T15:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduled refresh randomly failing every day recently with Data Source Error</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5156053#M43389</link>
      <description>&lt;P&gt;Thanks Grazitti for your solution! I tried to give more time gap on scheduled refresh time for my reports, will see if that's helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 15:33:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Scheduled-refresh-randomly-failing-every-day-recently-with-Data/m-p/5156053#M43389</guid>
      <dc:creator>Gris</dc:creator>
      <dc:date>2026-04-22T15:33:43Z</dc:date>
    </item>
  </channel>
</rss>

