How to solve the error "Not Supported in DirectQuery 1400 Mode" in AAS

Katie Tran 5 Reputation points
2023-07-19T01:56:12.79+00:00

I imported data into AAS, then I changed the DirectQuery Mode is ON. With the opening file, it was okay. However, when I closed and re-opened the file, it showed the error as below. I cannot open the model or change anything.

User's image

When reopening, the properties of Model.bim's DirectQuery Mode is greyed out and "Off" as default.

User's image

I tried to change the credential in the code in Model.bim but it still had the same error.

User's image

After many attempts, I tried to delete the model and created a new one. However, I cannot delete the model with the error as well.

User's image

My questions are:

  1. How do I solve that error in Visual Studio to recover what I have already done?
  2. How do I delete the model in SSMS with that error to release the memory?

Thanks for your help!

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
444 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Katie Tran 5 Reputation points
    2023-10-04T02:58:42.7033333+00:00

    Update: Microsoft team sent me an update email as below.

    "We have received an update  from our Product Group.
     
    Which you are trying to connect with MFA for DirectQurryMode 'ON' for DefaultPowerBIDataSourceVersion PowerBI_v1 it's not supported by design.
     
    If you like to connect MFA for DirectQurryMode 'ON' needs to upgrade to  DefaultPowerBIDataSourceVersion PowerBI_v3."

    Hope it helps.

    0 comments No comments

  2. Katie Tran 5 Reputation points
    2023-10-12T23:32:31.5633333+00:00

    Update from Microsoft's Product Group.

    "Unfortunately, in this scenario, it is not possible to switch back to Vertipaq cache mode (Direct Query OFF) so you might have to create a new model.

    Product Group team working on the process to disable ‘Data Query Mode’ property if auth is MFA (OAuth2) to avoid such issues in future."

    0 comments No comments

  3. Katie Tran 5 Reputation points
    2023-10-17T23:00:09.8533333+00:00

    Update from Microsoft's Product Group as below.

    "I had discussion with my manager and product group about your concern, as per Microsoft policy if more customers are asking same kind of feature, it will be released sooner or later.

     

    At this moment we don't have any ETA, once I have any update will keep you posted."

    0 comments No comments