Power BI DirectQuery Model - AAS connection update -> Fabric

Anonymous
2026-07-10T12:04:22.39+00:00

Trying to change the connection details for a powerbi directquery report locally. If I swap out the long asazure// address from the old Analysis Service url, with the new powerbi// address for the model I want in fabric, I can change the server name successfully, so I can connect to a semantic model called the same name as my AAS cube name. But If I try and change the server & database name at the same time, i.e. update the model name from Model_V1 to Model_V2, I get an issue. Is this resolvable?

Error Message:

PowerBINonFatalError:

{"AppName":"PBIDesktop","AppVersion":"2.155.756.0","ModuleName":"Microsoft.PowerBI.Modeling.Engine.dll","Component":"Microsoft.PowerBI.Modeling.Engine.DataModel.Utilities.DataModelExtensions","Error":"System.NullReferenceException","MethodDef":"GetObjectTranslations","ErrorOffset":"6","ErrorCode":""}

Azure Analysis Services

2 answers

Sort by: Most helpful
  1. Srikanth Chavithina 265 Reputation points Microsoft External Staff Moderator
    2026-07-11T07:10:41.1866667+00:00

    Hi Peter McInnes,

    Thank you for sharing the details.

    Since changing only the server endpoint from asazure:// to powerbi:// works, basic connectivity to the Fabric workspace appears to be working. The System.NullReferenceException at GetObjectTranslations is not a typical connection or authentication error; however, the stack trace alone is not enough to confirm a translation issue or Power BI Desktop defect.

    I recommend updating Power BI Desktop to the latest version, testing a new PBIX connection directly to Model_V2, and verifying that the target model contains the objects required by the existing report. You can also try changing the server first, saving and reopening the PBIX, and then rebinding to Model_V2 separately instead of changing both values simultaneously.

    If the issue persists, could you confirm whether this is a live connection or composite model, whether Model_V2 is a migrated copy of Model_V1, and whether a new PBIX can connect successfully to Model_V2?

    This will help determine whether the issue is related to model compatibility, the connection-change scenario, or requires further Power BI Desktop investigation.

    For reference, please see:

    Hope this helps. If you have any questions or need further clarification, please let us know.

    Was this answer helpful?

    0 comments No comments

  2. Alex Burlachenko 25,030 Reputation points MVP Volunteer Moderator
    2026-07-10T12:09:13.2166667+00:00

    hi Peter McInnes(Unifeye) & thx for sharing urs issue here at Q&A portal,

    stack trace points to Power BI Desktop failing while synchronizing model translations after both the server and semantic model name are changed. That looks like a Desktop bug or a metadata mismatch, not a normal connection error. Try changing only the server first, save and reopen the PBIX, then change the database/model name. If that still fails, confirm that Model_V2 has the same table, column, measure, hierarchy, and translation metadata expected by the report. Changing the connection won’t remap objects when the target model schema differs. The exception is inside TranslationCollectionSynchronizationStep, removing stale translations from the PBIX or target semantic model may work around it. Testing with the latest Power BI Desktop build is also important.

    Look at Microsoft’s AAS migration guid https://learn.microsoft.com/power-bi/guidance/migrate-azure-analysis-services-to-power-bi If Model_V1 and Model_V2 are schema-compatible and the latest Desktop still throws the same null reference, this should be reported as a Power BI Desktop bug with the PBIX, Desktop version, and a sanitized copy of both model schemas.

    rgds,

    Alex

    &

    If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal

    and at my blog https://ctrlaltdel.blog/

     

    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.