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

1 Reply

  • v-juanli-msft's avatar
    v-juanli-msft
    Community Support

    Hi slc7456 

    Do you follow this guide?

    It's possible your company's firewall may be blocking communication to the AzureML Studio API. 

     

    I would suggest you to create a support ticket (if you are a pro user).

     

    Best Regards
    Maggie

     

    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.