Forum Discussion

AdrianMulcare's avatar
AdrianMulcare
New Member
7 months ago
Solved

Power Bi report not refreshing on web version

Hi, 

 

I get the below error when trying to run a refresh.

Can someone please help

 

Last refresh failed: 16/01/2026, 14:13:33
An error occurred while processing the semantic model.Hide details

 

Data source error:{"error":{"code":"DMTS_OAuthFailedToGetResourceIdError","pbi.error":{"code":"DMTS_OAuthFailedToGetResourceIdError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"Failed to get OAuth resource, please make sure the OAuth is supported"}}],"exceptionCulprit":1}}}
Cluster URI:WABI-US-NORTH-CENTRAL-E-PRIMARY-redirect.analysis.windows.net
Activity ID:608b055f-c002-be97-f57a-b794d5e988de
Request ID:6e127842-c82b-defb-50f9-2b9722fe7022
Time:2026-01-16 14:13:33Z

 

Refresh completed with warnings.

  • Data source error: {"error":{"code":"DMTS_OAuthFailedToGetResourceIdError","pbi.error":{"code":"DMTS_OAuthFailedToGetResourceIdError","details":[{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage","detail":{"type":1,"value":"Failed to get OAuth resource, please make sure the OAuth is supported"}}],"exceptionCulprit":1}}}
  •  

     

  • Hi AdrianMulcare,

    Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to cengizhanarslan, for those inputs on this thread.

    Since re-authentication did not resolve the issue, this points to a broader OAuth configuration problem rather than an expired credential. This specific error occurs when the Power BI service cannot determine or request the required OAuth resource during refresh, which commonly happens if the data source or connector does not fully support OAuth-based scheduled refresh in the service, or if tenant-level security policies (such as Conditional Access or MFA) block service-side token acquisition.

    As next steps, please verify whether the data source used in the dataset supports OAuth refresh in the Power BI service, fully remove and re-add the data source credentials (not just re-authenticate), and ensure the dataset owner is the same account configuring credentials. If the source is on-premises or behind a firewall, confirm that an on-premises data gateway is correctly configured and online. If the issue persists, republishing the dataset using the final owner account typically resolves stale OAuth metadata issues.

    Hope that clarifies. Let us know if you have any doubts regarding this. We will be happy to help.

    Thank you for using the Microsoft Fabric Community Forum.

6 Replies

  •  

    • Go to Semantic model / Dataset → Settings → Data source credentials

    • Edit credentials (re-authenticate) or add a proper connection

    • Then retry refresh

     

  • Hi AdrianMulcare,

    Thank you for reaching out to the Microsoft Fabric Community Forum. Also, thanks to cengizhanarslan, for those inputs on this thread.

    Since re-authentication did not resolve the issue, this points to a broader OAuth configuration problem rather than an expired credential. This specific error occurs when the Power BI service cannot determine or request the required OAuth resource during refresh, which commonly happens if the data source or connector does not fully support OAuth-based scheduled refresh in the service, or if tenant-level security policies (such as Conditional Access or MFA) block service-side token acquisition.

    As next steps, please verify whether the data source used in the dataset supports OAuth refresh in the Power BI service, fully remove and re-add the data source credentials (not just re-authenticate), and ensure the dataset owner is the same account configuring credentials. If the source is on-premises or behind a firewall, confirm that an on-premises data gateway is correctly configured and online. If the issue persists, republishing the dataset using the final owner account typically resolves stale OAuth metadata issues.

    Hope that clarifies. Let us know if you have any doubts regarding this. We will be happy to help.

    Thank you for using the Microsoft Fabric Community Forum.

    • v-kpoloju-msft's avatar
      v-kpoloju-msft
      Community Support

      Hi AdrianMulcare,

      Just checking in to see if the issue has been resolved on your end. If the earlier suggestions helped, that’s great to hear! And if you’re still facing challenges, feel free to share more details happy to assist further.

      Thank you.

      • v-kpoloju-msft's avatar
        v-kpoloju-msft
        Community Support

        Hi AdrianMulcare,

        Just wanted to follow up. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.

        Thank you.

  • Ray_Minds's avatar
    Ray_Minds
    Solution Supplier

    Hello AdrianMulcare  Please find the some recommended steps to resolve the issue .
    Issue Summary

    The dataset refresh in the Power BI Service is failing due to an OAuth authentication error. This means Power BI is currently unable to securely connect to one or more of the data sources during refresh.


    Root Cause :

    The error DMTS_OAuthFailedToGetResourceIdError usually occurs when Power BI Service cannot authenticate a data source using OAuth. This can happen for several common reasons, such as:

    • The saved OAuth credentials have expired

    • The password or account used for authentication was changed

    • Multi-Factor Authentication (MFA) was enabled or updated after the report was published

    • The data source does not support OAuth-based refresh in the Power BI Service

    • The dataset uses multiple data sources, and only one of them is failing authentication


    Recommended Resolution Steps

    1. Check data source credentials in Power BI Service

      • Go to the workspace → Dataset → Settings

      • Expand Data source credentials

      • Look for any data source showing an authentication warning

    2. Re-authenticate the affected data source

      • Click Edit credentials

      • Choose OAuth2 as the authentication method

      • Sign in using the same account that was used in Power BI Desktop

      • Save the changes and trigger a manual refresh

    3. Verify the authentication method is supported

      • SharePoint / OneDrive sources should use Organizational Account

      • Azure SQL supports OAuth; on-premises SQL requires a data gateway

      • Some Web or API sources do not support OAuth refresh and may require:

        • Anonymous or Basic authentication, or

        • Refresh through an on-premises data gateway