Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have been using the Power BI API Gateways - Create Datasource to add a datasource to my gateway after some other errors about the database username and connection string I now have the error PowerBIEntityFrameworkOperationException which to me seems an intenal error and not a 400 BadRequest because I have no idea what I need to fix in my request to solve this issue.
My request body:
{
"dataSourceType": "Sql",
"connectionDetails": "{\"server\":\"LAPTOP-xxxxxx\\\\PARKBASE\",\"database\":\"AdventureWorksDW2017\"}",
"credentialDetails": {
"credentials": "bD5woAOt/rtaVeGAC+RMDL.......",
"credentialType": "Windows",
"encryptedConnection": "Encrypted",
"encryptionAlgorithm": "RSA-OAEP",
"privacyLevel": "Organizational",
"useCallerAADIdentity": false
},
"dataSourceName": "YA26"
}
The error:
{"error":{"code":"PowerBIEntityFrameworkOperationException","pbi.error":{"code":"PowerBIEntityFrameworkOperationException","parameters":{},"details":[]}}}
So it isn't telling me anything about what I'm doing wrong.
I have added the same information in through the https://app.powerbi.com/ and that worked fine with the same information.
Solved! Go to Solution.
@YvonneA2020 @jpu - We were having the same problem so we opened a support ticket with Microsoft. Today the support representitive asked us to try calling the API again. We did and it now appears to be working. We didn't need to make any changes on our side.
@YvonneA2020 @jpu - We were having the same problem so we opened a support ticket with Microsoft. Today the support representitive asked us to try calling the API again. We did and it now appears to be working. We didn't need to make any changes on our side.
I can confirm that error is gone. Thanks alot! 🙂
I'm facing the same issue.. Any luck finding a solution?
Have you tried doing the same in the sandbox? (Via the "try it" button?)
Gateways - Create Datasource (Power BI Power BI REST APIs) | Microsoft Docs
I tried it and not suprisingly got the same error:
{"error": {"code": "PowerBIEntityFrameworkOperationException","pbi.error": {"code": "PowerBIEntityFrameworkOperationException","parameters": {},"details": []}}}
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
21 | |
2 | |
2 | |
2 | |
2 |