Forum Discussion

slc7456's avatar
slc7456
Advocate III
7 years ago

R Script does not work in Power BI Service

Purpose: Publish an R visual to Power BI service 

 

Background: I have created 2 Power BI visuals in Power BI Desktop. Both render correctly in Power BI desktop. However, when I publish to the Power BI serivce, I recieve the below error message 

 

Error in workspace(wsid, auth) : Invalid api_endpoint: https://studioapi.azureml.net  
Please try again later or contact support. If you contact support, please provide these details.

Activity ID28774eb5-c80e-4a07-aab6-f7714b1e4a8f
Request IDd21be851-a03b-1583-2f26-5a7a6f93a90f
Correlation ID48aec683-c3dc-3103-e1dd-5da04a2c0f26
TimeThu Jun 27 2019 09:16:30 GMT-0500 (Central Daylight Time)
Version13.0.9880.163
 
I have confirmed that I am using the correct 
  • Workspace ID
  • Authentication Token
  • Serivce Name 

Does anyone know why this error occurs in the Power BI Serivce, but not desktop

2 Replies

    • slc7456's avatar
      slc7456
      Advocate III

      Thanks! I reviewed Microsoft's white paper on R packages in the Power BI service prior to this post. I am using one of their approved packages AzureML. 

      But for some reason i'm getting an Invalid api_endpoint error message that I can't explain...