Enable remote access to Power BI Mobile with Azure Active Directory Application Proxy
This article discusses how to use Azure AD Application Proxy to enable the Power BI mobile app to connect to Power BI Report Server (PBIRS) and SQL Server Reporting Services (SSRS) 2016 and later. Through this integration, users who are away from the corporate network can access their Power BI reports from the Power BI mobile app and be protected by Azure AD authentication. This protection includes security benefits such as Conditional Access and multi-factor authentication.
This article assumes you've already deployed Report Services and enabled Application Proxy.
- Enabling Application Proxy requires installing a connector on a Windows server and completing the prerequisites so that the connector can communicate with Azure AD services.
- When publishing Power BI, we recommended you use the same internal and external domains. To learn more about custom domains, see Working with custom domains in Application Proxy.
- This integration is available for the Power BI Mobile iOS and Android application.
Step 1: Configure Kerberos Constrained Delegation (KCD)
For on-premises applications that use Windows authentication, you can achieve single sign-on (SSO) with the Kerberos authentication protocol and a feature called Kerberos constrained delegation (KCD). When configured, KCD allows the Application Proxy connector to obtain a Windows token for a user, even if the user hasn’t signed into Windows directly. To learn more about KCD, see Kerberos Constrained Delegation Overview and Kerberos Constrained Delegation for single sign-on to your apps with Application Proxy.
There isn’t much to configure on the Reporting Services side. Just be sure to have a valid Service Principal Name (SPN) to enable the proper Kerberos authentication to occur. Also make sure the Reporting Services server is enabled for Negotiate authentication.
To set up KCD for Reporting services, continue with the following steps.
Configure the Service Principal Name (SPN)
The SPN is a unique identifier for a service that uses Kerberos authentication. You'll need to make sure you have a proper HTTP SPN present for your report server. For information on how to configure the proper Service Principal Name (SPN) for your report server, see Register a Service Principal Name (SPN) for a Report Server. You can verify that the SPN was added by running the Setspn command with the -L option. To learn more about this command, see Setspn.
Enable Negotiate authentication
To enable a report server to use Kerberos authentication, configure the Authentication Type of the report server to be RSWindowsNegotiate. Configure this setting using the rsreportserver.config file.
<AuthenticationTypes> <RSWindowsNegotiate /> <RSWindowsKerberos /> <RSWindowsNTLM /> </AuthenticationTypes>
For more information, see Modify a Reporting Services Configuration File and Configure Windows Authentication on a Report Server.
Ensure the Connector is trusted for delegation to the SPN added to the Reporting Services application pool account
Configure KCD so that the Azure AD Application Proxy service can delegate user identities to the Reporting Services application pool account. Configure KCD by enabling the Application Proxy connector to retrieve Kerberos tickets for your users who have been authenticated in Azure AD. Then that server passes the context to the target application, or Reporting Services in this case.
To configure KCD, repeat the following steps for each connector machine:
- Sign in to a domain controller as a domain administrator, and then open Active Directory Users and Computers.
- Find the computer that the connector is running on.
- Double-click the computer, and then select the Delegation tab.
- Set the delegation settings to Trust this computer for delegation to the specified services only. Then, select Use any authentication protocol.
- Select Add, and then select Users or Computers.
- Enter the service account that you're using for Reporting Services. This is the account you added the SPN to within the Reporting Services configuration.
- Click OK. To save the changes, click OK again.
For more information, see Kerberos Constrained Delegation for single sign-on to your apps with Application Proxy.
Step 2: Publish Report Services through Azure AD Application Proxy
Now you're ready to configure Azure AD Application Proxy.
Publish Report Services through Application Proxy with the following settings. For step-by-step instructions on how to publish an application through Application Proxy, see Publishing applications using Azure AD Application Proxy.
Internal URL: Enter the URL to the Report Server that the connector can reach in the corporate network. Make sure this URL is reachable from the server the connector is installed on. A best practice is using a top-level domain such as
https://servername/to avoid issues with subpaths published through Application Proxy. For example, use
We recommend using a secure HTTPS connection to the Report Server. See Configure SSL connections on a native mode report server for information how to.
External URL: Enter the public URL the Power BI mobile app will connect to. For example, it may look like
https://reports.contoso.comif a custom domain is used. To use a custom domain, upload a certificate for the domain, and point a DNS record to the default msappproxy.net domain for your application. For detailed steps, see Working with custom domains in Azure AD Application Proxy.
Pre-authentication Method: Azure Active Directory
Once your app is published, configure the single sign-on settings with the following steps:
a. On the application page in the portal, select Single sign-on.
b. For Single Sign-on Mode, select Integrated Windows Authentication.
c. Set Internal Application SPN to the value that you set earlier.
d. Choose the Delegated Login Identity for the connector to use on behalf of your users. For more information, see Working with different on-premises and cloud identities.
e. Click Save to save your changes.
To finish setting up your application, go to the Users and groups section and assign users to access this application.
Step 3: Modify the Reply URI's for the application
Before the Power BI mobile app can connect and access Report Services, you must configure the Application Registration that was automatically created for you in step 2.
On the Azure Active Directory Overview page, select App registrations.
Under the All applications tab search for the application you created in step 2.
Select the application, then select Authentication.
Add the following Redirect URIs based on which platform you are using.
When configuring the app for Power BI Mobile iOS, add the following Redirect URIs of type Public Client (Mobile & Desktop):
When configuring the app for Power BI Mobile Android, add the following Redirect URIs of type Public Client (Mobile & Desktop):
The Redirect URIs must be added for the application to work correctly. If you are configuring the app for both Power BI Mobile iOS and Android, add the following Redirect URI of type Public Client (Mobile & Desktop) to the list of Redirect URIs configured for iOS:
Step 4: Connect from the Power BI Mobile App
In the Power BI mobile app, connect to your Reporting Services instance. To do this, enter the External URL for the application you published through Application Proxy.
Select Connect. You'll be directed to the Azure Active Directory sign in page.
Enter valid credentials for your user and select Sign in. You'll see the elements from your Reporting Services server.
Step 5: Configure Intune policy for managed devices (optional)
You can use Microsoft Intune to manage the client apps that your company's workforce uses. Intune allows you to use capabilities such as data encryption and additional access requirements. To learn more about app management through Intune, see Intune App Management. To enable the Power BI mobile application to work with the Intune policy, use the following steps.
- Go to Azure Active Directory and then App Registrations.
- Select the application configured in Step 3 when registering your native client application.
- On the application’s page, select API Permissions.
- Click Add a permission.
- Under APIs my organization uses, search for “Microsoft Mobile Application Management” and select it.
- Add the DeviceManagementManagedApps.ReadWrite permission to the application
- Click Grant admin consent to grant the permission access to the application.
- Configure the Intune policy you want by referring to How to create and assign app protection policies.
If the application returns an error page after trying to load a report for more than a few minutes, you might need to change the timeout setting. By default, Application Proxy supports applications that take up to 85 seconds to respond to a request. To lengthen this setting to 180 seconds, select the back-end timeout to Long in the App Proxy settings page for the application. For tips on how to create fast and reliable reports see Power BI Reports Best Practices.
Using Azure AD Application Proxy to enable the Power BI mobile app to connect to on premises Power BI Report Server is not supported with conditional access policies that require the Microsoft Power BI app as an approved client app.