m-kovalsky / Tabular

Useful code for tabular modeling and automation.
MIT License
156 stars 61 forks source link

Doesn't work with PPU #2

Closed FrankFromGermany closed 3 years ago

FrankFromGermany commented 3 years ago

Is a Service Principal required for running this script?

As Power BI Admin I still get this: Error on line 29 ( Model.Database.TOMDatabase.Server.CancelSession(sID);) The 'pii>joe@abc.com</pii' user does not have permission to perform a cancel operation.

m-kovalsky commented 3 years ago

Yes, you will need to set up a service principal if using Power BI Premium. Can follow the steps in this article.

https://tabulareditor.com/2020/06/02/PBI-SP-Access.html