Forum Discussion
Semantic modele doesnt refresh
- Anonymous2 years ago
Hi adeschenes12 ,
Basic requirements for refreshing:
Verify that the gateway version is up to date.
Verify that the semantic model has the gateway selected. If the gateway is not selected, the data source may have changed or been lost.
In the screenshot, you see the question "TokenExpired", which indicates that your token has expired.
For a detailed guide to refreshing your access token, see:
Troubleshoot Power BI embedded analytics application - Power BI | Microsoft Learn
The Microsoft Entra ID (Microsoft Entra ID) OAuth token, used by many different data sources, expires in approximately one hour.
Sometimes that token expires before the data has finished loading, since the Power BI service waits for up to two hours when loading data.
In that situation, the data loading process can fail with a credentials error.
Ensure that the account and data source used for the Power BI service are the same, especially when connecting to the data source using OAuth.
If the data source is large and the refresh process takes longer than the token is lifetime, consider optimizing the data.
You can refer to the "Refresh fails when updating data from sources that use Microsoft Entra ID OAuth" section of this document for more information:
Troubleshoot refresh scenarios - Power BI | Microsoft Learn
To further assist you, please provide the following information:
What type of data source are you connecting to?
What is your connection mode, Import/Direct Query/Live Connect?
Are there any incremental refresh policies set for the dataset?
Are your On demand refresh and Scheduled refresh not working?
Best Regards,
Yang
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi adeschenes12 ,
Basic requirements for refreshing:
Verify that the gateway version is up to date.
Verify that the semantic model has the gateway selected. If the gateway is not selected, the data source may have changed or been lost.
In the screenshot, you see the question "TokenExpired", which indicates that your token has expired.
For a detailed guide to refreshing your access token, see:
Troubleshoot Power BI embedded analytics application - Power BI | Microsoft Learn
The Microsoft Entra ID (Microsoft Entra ID) OAuth token, used by many different data sources, expires in approximately one hour.
Sometimes that token expires before the data has finished loading, since the Power BI service waits for up to two hours when loading data.
In that situation, the data loading process can fail with a credentials error.
Ensure that the account and data source used for the Power BI service are the same, especially when connecting to the data source using OAuth.
If the data source is large and the refresh process takes longer than the token is lifetime, consider optimizing the data.
You can refer to the "Refresh fails when updating data from sources that use Microsoft Entra ID OAuth" section of this document for more information:
Troubleshoot refresh scenarios - Power BI | Microsoft Learn
To further assist you, please provide the following information:
What type of data source are you connecting to?
What is your connection mode, Import/Direct Query/Live Connect?
Are there any incremental refresh policies set for the dataset?
Are your On demand refresh and Scheduled refresh not working?
Best Regards,
Yang
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
My Semantic Model will not refresh automatically when I moved my model to my client's PBI account.
I get this error:
"We cannot refresh this semantic model because this semantic model uses a default data connection without explicit connection credentials. ..... "\
It refreshes fine when I refresh manually in the PBIX file but not once Published. The data sources are tables in an Excel file. I have the correct login info to access these files and the evidence is how they refresh in the PBIX file.
You talk about the Gateway only here .. I do NOT and do not wish or need to use the Gateway and regardless this refreshes perfectly on my own PBI environment using my login there (my account).
This is really pissing me off as it has taken me a VERY long time to get to this point and this one little issue has stopped me from delivering my solution to my client so I can acxtually get paid..
Thanx
**bleep** Moffat
**bleep**@plogic.ca