Share via

How do I delete an Azure Analysis Services tabular model that is in an inconsistent state and cannot be accessed

rhei78 0 Reputation points
2025-01-24T02:12:41.02+00:00

I have an Azure Analysis Services tabular model that is currently in an inconsistent state and cannot be accessed. If I try to delete it using SQL Server Management Studio, it shows the following error:

The Tabular database 'XXXXX' is in an inconsistent state and cannot be accessed. Please delete it and recreate it or restore it from a valid backup.

Azure Analysis Services

1 answer

Sort by: Most helpful
  1. rhei78 0 Reputation points
    2025-01-27T22:33:39.9266667+00:00

    Thank you @Smaran Thoomu . I already tried to delete the database using SQL Server management studio but it always shows the same message as bellow. As for using Powershell , I can't seem to see the command 'Remove-ASDatabase' from the documentation https://learn.microsoft.com/en-us/analysis-services/powershell/analysis-services-powershell-reference?view=asallproducts-allversions

    User's image

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.