Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
apturlov
Continued Contributor
Continued Contributor

Cannot create Notebook connection with Workspace Identity authentication

I wanted to create a Notebook connection for a Notebook activity in Factory pipelines using Workspace Identity instead of Service Principal but encountered an error. I am aware that this feature may not be completely rolled out but I would not expect it to be available in Fabric UI if it's not available in my region. As it happens now, both Fabric documentation and Fabric UI allow choosing a Workspace Identity to be used for authentication in Notebook connection, but creating one is impossible.

 

UI shows an error:

apturlov_0-1769538741221.png

This error is corresponding to an API request, as seen in the browser:

apturlov_1-1769538799814.png

Very confusing, that the response is 200 OK, but the response content clearly shows that something went wrong:

apturlov_2-1769539183522.png

The powerBIApiErrorObject has this content:

{
    "Code": "DMTS_InvalidCredentialTypeError",
    "Message": null,
    "Target": null,
    "Details": null,
    "InnerError": null,
    "pbi.error": {
        "code": "DMTS_InvalidCredentialTypeError",
        "parameters": {},
        "Details": [],
        "ExceptionCulprit": 1
    }
}

 I wonder if anyone has better insights in this situation and can explain.

1 ACCEPTED SOLUTION
Olufemi7
Solution Sage
Solution Sage

Hello @apturlov

You’re seeing the DMTS_InvalidCredentialTypeError because Notebook connections in pipelines don’t yet support Workspace Identity authentication, even though the Fabric UI currently shows it as an option.

The backend rejects this credential type, which is why the API call returns 200 OK but includes the error object.

At the moment, the only supported authentication method for Notebook connections in pipelines is Service Principal. Workspace Identity support is planned and has started rolling out, but it isn’t fully enabled yet — so this isn’t a regional issue or a misconfiguration on your side.

For reference:

View solution in original post

2 REPLIES 2
Olufemi7
Solution Sage
Solution Sage

Hello @apturlov

You’re seeing the DMTS_InvalidCredentialTypeError because Notebook connections in pipelines don’t yet support Workspace Identity authentication, even though the Fabric UI currently shows it as an option.

The backend rejects this credential type, which is why the API call returns 200 OK but includes the error object.

At the moment, the only supported authentication method for Notebook connections in pipelines is Service Principal. Workspace Identity support is planned and has started rolling out, but it isn’t fully enabled yet — so this isn’t a regional issue or a misconfiguration on your side.

For reference:

v-menakakota
Community Support
Community Support

Hi @apturlov ,

Thanks for reaching out to the Microsoft fabric community forum. 

 

This is a current product limitation.  Even though the Fabric UI shows Workspace Identity as an option for Notebook connections, the backend does not yet support it, which results in the DMTS_InvalidCredentialTypeError. It’s not a region or configuration issue.

For now, Service Principal is the only supported authentication for Notebook connections in pipelines.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know. 

Best Regards, 
Community Support Team 

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2026

Check out the April 2026 Fabric update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.