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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
vojtechsima
Super User
Super User

Error while adding new OData Dataflow

Hi,

I am trying to add a new Dataflow, using the OData source. I used the same source several times without issues, however, now I got this error:

Unknown error from external service: DMTS_InvalidEncryptionAlgorithmError (Session ID: 965dc84c-7906-45f2-87ff-0c61176d1c74)
 
My credentials are correct (I can add it without any issue in Power BI Desktop), I used this source several times without issues, just a different URL from the same source.
 

 

 






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.
1 ACCEPTED SOLUTION
vojtechsima
Super User
Super User

@Anonymous , @Watsky 

Hi guys,
I couldn'T resolve it, however, I found a workaround, it's a little bit more work but it works as it should.
Create new DataFlow using Blank Query, copy Power Query code from Advanced Editor (from Power BI Desktop), enter desired credentials (doesn't need any encryption like that) and save it.

However, it's strange nonetheless, because in the new workspace when I pasted the same link, it gave me "Use Encrypted Connection" option but in my old Workspace, I didn't get this option. It obviously then worked with the Encryption mode and it entered the credentials on its own, somehow it inherited it from somewhere I have no clue, to be honest.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

View solution in original post

5 REPLIES 5
vojtechsima
Super User
Super User

@Anonymous , @Watsky 

Hi guys,
I couldn'T resolve it, however, I found a workaround, it's a little bit more work but it works as it should.
Create new DataFlow using Blank Query, copy Power Query code from Advanced Editor (from Power BI Desktop), enter desired credentials (doesn't need any encryption like that) and save it.

However, it's strange nonetheless, because in the new workspace when I pasted the same link, it gave me "Use Encrypted Connection" option but in my old Workspace, I didn't get this option. It obviously then worked with the Encryption mode and it entered the credentials on its own, somehow it inherited it from somewhere I have no clue, to be honest.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.
Anonymous
Not applicable

Hi @vojtechsima ,

 

According to the error message,DMTS_InvalidEncryptionAlgorithmError

 

I think you need to encrypt your credentials when you load - not made very clear in the documentation. You can't just upload the free text.

Makes sense for security! Refer to :https://docs.microsoft.com/en-us/power-bi/developer/encrypt-credentials

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@Anonymous 
Hi,
how I can encrypt it when I just simply put the text into box, I used this several times without any issues:

vojtechsima_0-1629365239730.png

Sorry for the Czech language, but this is how I add the new the Dataflow and it's how I always do it without any issues.






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.
Watsky
Solution Sage
Solution Sage

Hey @vojtechsima ,

 

Does the URL use HTTPS? If the URL was using HTTP try it with HTTPS. 


Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up! ?
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution.


Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up!
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution.

Proud to be a Super User!

Hey @Watsky ,
unfortunately, I am using Https already. Do you have any other tip how to fix this random issue please?

This is the link:
https://servicedesk.homecredit.net/rest/aio-bi/1.0/powerbi/export/NTYwZWRjNzYtYWY3Yi00ODc3LTllNzUtNT...






Any kudos or recognition appreciated. To learn more on the topic, check out my blog and follow me on LinkedIn.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.