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 All,
When we are trying to connect to Azure ML using R from Power BI we are getting below error on service account:
Loading required package: bitops Error in function (type, msg, asError = TRUE) : Could not resolve host: ussouthcentral.services.azureml.net
But the same code is working fine in Power BI Desktop File. Package bitops is already included. Tried alot of things but still no progress every time I publish to service account it gives error.
# Accept SSL certificates issued by public Certificate Authorities
options(RCurlOptions = list(sslVersion=1,verbose = TRUE,cainfo = system.file("CurlSSL", "cacert.pem", package = "RCurl"), ssl.verifypeer = FALSE))
curlPerform(url = "https://ussouthcentral.services.azureml.net/workspaces/xxxx/services/xxxx/execute?api-version=2.0&de...",
httpheader=c('Content-Type' = "application/json", 'Authorization' = authz_hdr),
postfields=body,
writefunction = h$update,
headerfunction = hdr$update,
verbose = TRUE,
ssl.verifypeer = FALSE
)
Thanks In Advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.