The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
We had to migrate all of our workspaces from a PPU environment to a non-PPU environment. With this change, we are receiving a "This operation isn't allowed, as the database 'database name' is in a blocked state." for all of our power bi reports and datamarts. Based on the information here (Power BI Premium Per User - Power BI | Microsoft Learn), it says you need to refresh the dataset to fix the error.
I have tried to refresh the dataset through the power bi project file but source control fails on trying to update the semantic model in the workspace after merging my local branch into our development branch linked to the workspace. I receive the below error when trying to update the semantic model through source control.
I have tried to update the dataset through SSMS (How to refresh a single table in Power BI using SSMS | by Dhyanendra Singh Rathore | Medium, Refresh Tables and Partitions in Power BI Using SSMS | by Yuki Kakegawa | Medium) but I receive the same database is in a blocked state error.
Any ideas on how to solve this without disconnecting the workspace from source control? I will need to find a solution for power bi reports as well as datamarts.
Edit:
Solved! Go to Solution.
Was able to fix the error for power bi reports. I needed to do a "Process Full" on the database (not table) through SSMS.
I wasn't able to fix the error in the datamart using the Process Full on the database. I ran into the following error "Either the database with the ID of '4729ae60-969d-4acb-a667-9650d8ae1ab9' does not exist in the server with the ID of 'autopremiumhosteastus2004-399', or the user does not have permissions to access the object." Wasn't able to find a solution for it. Resorted to recreating the datamart to create a new semantic model that wouldn't have the database blocked error. Not ideal but a workaround I could do as we don't have many reports built off of datamarts yet.
Was able to fix the error for power bi reports. I needed to do a "Process Full" on the database (not table) through SSMS.
I wasn't able to fix the error in the datamart using the Process Full on the database. I ran into the following error "Either the database with the ID of '4729ae60-969d-4acb-a667-9650d8ae1ab9' does not exist in the server with the ID of 'autopremiumhosteastus2004-399', or the user does not have permissions to access the object." Wasn't able to find a solution for it. Resorted to recreating the datamart to create a new semantic model that wouldn't have the database blocked error. Not ideal but a workaround I could do as we don't have many reports built off of datamarts yet.
Hi @MeganBig
Unfortunately, when you migrate a workspace to different. models, the existing models will not refresh. You need to re upload the model and reprocess it from scratch. This is because under the hoods they are using different technologies and that is why they cannot be successfully refreshed.
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
52 | |
42 | |
25 | |
24 | |
23 |