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.

Reply
slc7456
Advocate III
Advocate III

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 2
Anonymous
Not applicable

Hey buddy,

 

Take a look at this documentation from Microsoft, maybe this can clear up something to you.

 

https://docs.microsoft.com/pt-br/power-bi/service-r-packages-support

 

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...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors