Forum Discussion
Add context url to powerbi endpoint
- 1 year ago
Hi jcaroe ,
You are not doing anything wrong here. Its just that Power BI Report Server does not officially support hosting behind a sub-path like /omr . It is designed to run at the root of a domain.
Best practice is to host it at the root of a dedicated subdomain.
If you still need help, you can open a Support ticket.To raise a support ticket for Fabric and Power BI, kindly follow the steps outlined in the following guide:
How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn
Hope this helps!
If the response has addressed your query, please Accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank You
Hi jcaroe ,
Power BI Report Server does not support adding a custom context path to the default URLs (/Reports,/Report Server) and this includes the /Powerbi virtual directory.
Altering the built-in virtual directories themselves is not supported through any PBIRS configuration options.
To have everything under a prefix like /omr, you’ll need to handle that in your proxy layer, not PBIRS.
However, you can try to add a reverse proxy route for /powerbi.
This documentation provides step by side guide to configure reverse Proxy
https://learn.microsoft.com/en-us/iis/extensions/url-rewrite-module/reverse-proxy-rule-template
Hope this helps!
If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Thank you.
Unfortunately, even with reverse proxying, the problem for us still remains, because the FE of Power BI Report Server still sends requests to https://hostname/powerbi -> the "hostname" is a proxy server which only understand /omr paths, and powerbi is rejected.
Thank you for your time.