Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Connecting Azure ML model With Power BI

Hi all,

 

I was trying to connect my Azure Machine Learning model with power bi using Run Script editor, where i simply write a connection code in the R script editor, but i am facing this error:

 

Error: AzureML returns error code:
HTTP status code : 400
AzureML error code : InvalidWebServiceId

Invalid web service ID provided. Verify the web service ID is correct and try again.
Execution halted

ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Scripting.R.Exceptions.RScriptRuntimeException

 

Note: I have already installed Azure ML packages. 

 

can anyone tell what is wrong?

 

Thank you

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @Anonymous, 

 

Please check if workspace id, workspace authentication key and Experiment name are correct based on this blog: https://powerbi.microsoft.com/en-us/blog/visualizing-and-interacting-with-your-azure-machine-learning-studio-experiments/

 

Best Regards,
Qiuyun Yu 

Anonymous
Not applicable

Hi Qiuyun Yu,

 

Thank you for your response, i followed this blog properly but unfortunately i am still getting the same error:

 

DataSource.Error: ADO.NET: R script error.
Request failed with status 400. Waiting 6.0 seconds before retry
.......
Request failed with status 400. Waiting 7.9 seconds before retry
........
Request failed with status 400. Waiting 30.0 seconds before retry
..............................

Error: AzureML returns error code:
HTTP status code : 400
AzureML error code  : InvalidWebServiceId
Invalid web service ID provided. Verify the web service ID is correct and try again.
Execution halted
Details:
    DataSourceKind=R
    DataSourcePath=R
    Message=R script error.
Request failed with status 400. Waiting 6.0 seconds before retry
.......
Request failed with status 400. Waiting 7.9 seconds before retry
........
Request failed with status 400. Waiting 30.0 seconds before retry
..............................

Error: AzureML returns error code:
HTTP status code : 400
AzureML error code  : InvalidWebServiceId
Invalid web service ID provided. Verify the web service ID is correct and try again.
Execution halted
    ErrorCode=-2147467259
    ExceptionType=Microsoft.PowerBI.Scripting.R.Exceptions.RScriptRuntimeException
 
 
 
Regards,
Ahmad-KAISPE
v-qiuyu-msft
Community Support

Hi @Anonymous, 

 

I would suggest you create a support ticket to get help. 

 

Support Ticket.gif

 

Best Regards,
Qiuyun Yu