Forum Discussion

AlvaradoLarry's avatar
AlvaradoLarry
Regular Visitor
5 years ago
Solved

Accidentally removed elevated rights AD groups from a report

Hello Experts!   I am hoping you can give me some insight or direction.   Here is the situation.   When i was updating security on one of our reports on Power BI on-Prem report server. I remove...
  • josef78's avatar
    josef78
    5 years ago

    Nooo,

    please do not delete any report this way, you will delete only head information of report, other (including content data, model, policy, schedules, and so on) will rest in db.

     

    If you want delete report directly in DB, I strongly do not recommend, it is unsupported, but if you still want, please use correct stored procedure, e.g.  DeleteObject (use profiler to check how use parametrs). Additionaly, better than delete report is reset permission on report using SP DeletePolicy. E.g.:

    exec DeletePolicy @ItemName=N'/YOUR/PATH/TO/report'

     

    But again, is not recommend to do anything on DB level, it is unsupported way.