Forum Discussion
FABRIC REST API Connections - Create Connection
- 22 days ago
Hi
$body = @{
connectivityType = "ShareableCloud"
displayName = "SQL Server Connection"
connectionDetails = @{
type = "SQL"
creationMethod = "SQL"
parameters = @(
@{ dataType = "Text"; name = "server"; value = "XXX" },
@{ dataType = "Text"; name = "database"; value = "XXX" }
)
}
privacyLevel = "Organizational"
credentialDetails = @{
singleSignOnType = "None"
connectionEncryption = "Encrypted"
skipTestConnection = $false
credentials = @{
credentialType = "ServicePrincipal"
tenantId = "XXX"
servicePrincipalClientId = "XXX"
servicePrincipalSecret = "XXX"
}
}
} | ConvertTo-Json -Depth 10
Hi Charline_74 ,
Could you review the suggestion provided above and let us know if you have any additional questions, we are happy to address.
Thanks!!