Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |