Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi, everyone
I'm struggling trying to create a datasource in a gateway. Credentials I'm going to use are basic.
I think the problem could be how I have created the body. This is the code.
$body =
@{value =
@{connectionDetails = @("http://localhost/DynamicsNAV110/OData/")
datasourceName = @("URL Base ODATA")
dataSourceType = @("OData")
credentialDetails = @(
@{credentialType = "Basic"
credentials = '{\"credentialData\":[{\"name\":\"username\", \"value\":\"john\"},{\"name\":\"password\", \"value\":\"*****\"}]}'
encryptedConnection = "Encrypted"
encryptionAlgorithm = "None"
privacyLevel = "None"
}
)
}
}
Can anyone help me with this, please???..
Thanks,
I have the same error. Anyone?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
11 | |
2 | |
2 | |
2 | |
2 |
User | Count |
---|---|
13 | |
12 | |
7 | |
5 | |
4 |