Forum Discussion

amaaiia's avatar
amaaiia
Skilled Sharer
2 years ago
Solved

Service Principal for semantic model authentication from SQL Analytics Endpoint

I have some tables in a Lakehouse and I want to use these tables as a data source for my PBI report. The semantic model connects to these tables using my personal account, but I have registered an AP...
  • GilbertQ's avatar
    GilbertQ
    2 years ago

    Hi amaaiia 

     

    As mentioned, I don't think service principles are currently supported

  • amaaiia's avatar
    amaaiia
    1 year ago

    I confirm that IT IS possible, both to connect to SQL Endpoint through Management Studio, and to create a connection to a SQL Endpoint by authenticating with Service Principal.

     

    Management Studio:

    1. I Copy SQL Enpoint Stirng from Fabric and paste it as Server Name. The I enter service principal values:

    2. Connect and:

    Success.

     

    New connection in Fabric:

    1. From connections pane, I create the new connection with Servive Principal authentication:

    2. I have one report accessing data in direct lake mode from a semantic model:

    3. In semantic model settings, I change the data source connection as the new serv_princ_conn:

    5. I can refresh the semantic model and I can see the data in the report.

     

    So yes, it seems Service Principal is working.