Forum Discussion
Customize Access URL for Power BI Report Server on Windows Server
- 1 year ago
Hi jcaroe,
Thank you for reaching out to the Microsoft Fabric Community Forum.
Power BI Report Server (PBIRS) does not natively support adding a custom context path (e.g: /myapp) to the default URLs (/Reports and /ReportServer) through its configuration tools, as the virtual directories are fixed. However, you can achieve the desired URL structure by using IIS as a reverse proxy with URL rewriting on the Windows Server hosting PBIRS.Here are the official Microsoft documentation links for URL Rewrite and Application Request Routing (ARR) for IIS, as referenced in the response:
- Using the URL Rewrite Module | Microsoft Learn
- URL Rewrite Module Configuration Reference | Microsoft Learn
- Using the Application Request Routing Module | Microsoft Learn
- Install Application Request Routing | Microsoft Learn
These links provide detailed guidance on configuring URL Rewrite and ARR in IIS, including setup, rule creation, and proxy settings, which are relevant to achieving the custom URL structure for Power BI Report Server.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Hi jcaroe,
Thank you for reaching out to the Microsoft Fabric Community Forum.
Power BI Report Server (PBIRS) does not natively support adding a custom context path (e.g: /myapp) to the default URLs (/Reports and /ReportServer) through its configuration tools, as the virtual directories are fixed. However, you can achieve the desired URL structure by using IIS as a reverse proxy with URL rewriting on the Windows Server hosting PBIRS.
Here are the official Microsoft documentation links for URL Rewrite and Application Request Routing (ARR) for IIS, as referenced in the response:
- Using the URL Rewrite Module | Microsoft Learn
- URL Rewrite Module Configuration Reference | Microsoft Learn
- Using the Application Request Routing Module | Microsoft Learn
- Install Application Request Routing | Microsoft Learn
These links provide detailed guidance on configuring URL Rewrite and ARR in IIS, including setup, rule creation, and proxy settings, which are relevant to achieving the custom URL structure for Power BI Report Server.
If this information is helpful, please “Accept as solution” and give a "kudos" to assist other community members in resolving similar issues more efficiently.
Thank you.
Hi,
I did try this solution, but the problem then occurs when I access any dashboard via the web portal. I managed to rewrite Reports and ReportServer urls to omr/Reports and omr/ReportServer.
Basically when you click on any item, an HTTP call is automatically fired to the /powerbi url, which is not rewritable (this is handled by the Power BI Report Server Back-End application).
Since any call is to be sanitized by a proxy which only accepts calls under a specific context (for example, omr) this is unacceptable since it will be blocked and all calls will end up in a 404 error.
Is there really no other way?