Power BI Report Server Bug Causes Menus to Not Work

We recently upgraded to Power BI Report Server on premises.  We have a directory name "President's Office".  While still on SSRS there was no issue with the name of the directory.  After upgrading we received an error when clicking on the ellipsis in the upper right corner of the folder.  The underlying reports would run but we could not manage them.  The error persisted for all sub-folders and reports. 

The error did not provide much in the way of details:



I cracked open developer tools in Chrome to see what was happening when we clicked on the ellipsis.  When clicking on the ellipsis it made an API call which resulted in a 404 error.

The API call looked like this:

reports/api/v2.0/Folders(Path=%27/President's%20Office%27)/AllowedActions


Look closely and you will notice the apostrophe in the directory name is not encoded.  This also explains why all of the sub-folders and report objects had the same issue.  The apostrophe was in their path as well.

I removed the apostrophe, clicked the ellipsis and all was well.  

I submitted an issue using the Power BI community and the response was really quick.  This bug should be fixed in the first quarter of 2018.

For grins I inspected the result of the successful API call and it looked like this.


{
  "@odata.context":"https://<reportserver>/reports/api/v2.0/$metadata#Collection(Model.AllowedAction)","value":[
    {
      "Action":"Create Folder"
    },{
      "Action":"Delete"
    },{
      "Action":"Read Properties"
    },{
      "Action":"Update Properties"
    },{
      "Action":"Create Report"
    },{
      "Action":"Create Resource"
    },{
      "Action":"Create data source"
    },{
      "Action":"Create Model"
    },{
      "Action":"Read Security Policies"
    },{
      "Action":"Update Security Policies"
    }
  ]
}

Popular posts from this blog

Power BI Report Server: "An Error Has Occurred" or Power BI Report Server: "My Power BI Report is Coming up Blank" or Power BI Report Server: "401 and 403” Errors From Nowhere

SQL SERVER 2017: STRING_AGG

Dynamic Label Positions With SSRS