Hi
I test your scenario and everything works well. Could you please post the full error message?
In addition, please make sure that you get the link of Excel file following the instructions in this article, and connect to the Excel file using Organizational Account in Power BI Desktop, then publish the Power BI Desktop file to Service.
Thanks,
Lydia Zhang