Categories: Power BI

Excel Rendering In Power BI Report Server: You Are Not Licensed To Use This Feature

I recently migrated an SSRS 2017 instance to a Power BI Report Server environment, as you can read in the blog post Migrate SSRS 2017 to Power BI Report Server. After quite some issues, the PBI RS Portal worked and I could happily browse SSRS and Power BI Desktop reports. The last on the last list was rendering Excel files in the portal. This feature would make everything come full circle: one single portal for all the BI-related content. Something I have been waiting on for years.

Of course it did not went smoothly.

(ignore the typo)

We had an Office Online Server (OOS) installed and configured on a server. All the settings were set as described in the documentation. Opening an Excel workbook on the portal worked, the data was displayed, but once you would click on a slicer, a filter or tried to change the Pivot Table, you were greeted with the following error: “The workbook attempts to utilize ODC File to connect to a data source. You are not licensed to use this feature.”.

So I double checked the workbook to see if there’s no ODC file. There was and I made it change into an OLAP query (by slightly changing the connection string. If somebody has a better work around, please feel free to share). Uploaded the workbook again. Same error. Apparently the error message about the ODC file is OOS-language for “something is wrong, but it has nothing to do with ODC files”. Changed the OOS farm settings to allow editing. Same error. Double-checked OOS config settings. Same error. Made sure that the machine name was added as an admin in the SSAS server (it was) and added NT AUTHORITY\Network Service just to be sure. Same error. I dug into the OOS logs, but they just showed the same error. I ran profiler on the SSAS server and there was nothing. Literally nothing, there wasn’t even a connection made to the SSAS server. Also, there is surprisingly little documentation on the subject of OOS and Power BI.

Then I noticed the OOS server wasn’t the latest version. I installed the latest version of OOS on another machine, ran through the configuration again (the prerequisites seem eerily similar to those of Master Data Services btw) and re-configured the PBI Report Server to use the new OOS instance. It worked. Hoozah. I could refresh the workbooks, use filters, everything.

Moral of the story: always upgrade to the latest version if possible.


------------------------------------------------
Do you like this blog post? You can thank me by buying me a beer 🙂
Koen Verbeeck

Koen Verbeeck is a Microsoft Business Intelligence consultant at AE, helping clients to get insight in their data. Koen has a comprehensive knowledge of the SQL Server BI stack, with a particular love for Integration Services. He's also a speaker at various conferences.

Recent Posts

dataMinds Connect 2025 – Slides & Scripts

You can find all the session materials for the presentation "Indexing for Dummies" that was…

4 days ago

Cloud Data Driven User Group 2025 – Slides & Scripts

The slidedeck and the SQL scripts for the session Indexing for Dummies can be found…

2 weeks ago

Retro Data 2025 – Slidedeck

You can find the slides of my session on the €100 DWH in Azure on…

3 weeks ago

Secure Logic Apps with OAuth Authorization

I've used Logic Apps a couple of times over the past years for simple workflows,…

4 weeks ago

Free Online Sessions – Building the €100 DWH and Indexing for Dummies

I'm giving two online sessions soon on virtual events that are free to attend. The…

1 month ago

How to Install SQL Server 2025 RC0 on an Azure VM

I wanted to try out the new JSON index which is for the moment only…

1 month ago