Skip to main content
Microsoft Idea

Power BI

Needs Votes

Service principal with Power BI and Data Gateway

Vote (106) Share
's profile image

on 09 Mar 2019 00:37:32

Currently the Service principal account cannot leverage the On-Premises Data Gateway since it is not a mail-enabled account. This prevents a Power BI Embedded solution to leverage an on-premises SSAS tabular model leveraging the service principal. Instead we need a full-blown power BI pro license for a service account. I would like the capability to leverage the data gateway added to the service principal Power BI authentication.

Comments (11)
's profile image Profile Picture

Andrew Haigh on 09 Mar 2023 14:41:41

RE: Service principal with Power BI and Data Gateway

9'th March 2023 - still looking for this functionality. The requirement to manually connect to the DataGatewayCluster with an non-SPN admin account in order to add an SPN to the user list of a datasource is frustratingBeing able to take care of such an activity with an SPN via a script will let me add automate this processPlease make it so!

's profile image Profile Picture

Christophe Hervouet on 12 Sep 2022 13:13:41

RE: Service principal with Power BI and Data Gateway

HiFor the moment , Powershell can help you https://blog.jpries.com/2021/11/25/adding-a-non-email-enabled-object-to-power-bi-gateway-cluster-users/

's profile image Profile Picture

on 13 Nov 2021 04:59:26

RE: Service principal with Power BI and Data Gateway

Would be really nice to be able to automate data gateway management/admin using a service principal instead of an interactive login.

's profile image Profile Picture

Samantha Hughes on 22 Sep 2021 16:33:33

RE: Service principal with Power BI and Data Gateway

2021, it would still be great to have this capability

's profile image Profile Picture

Eric Whitt on 21 Sep 2021 15:13:24

RE: Service principal with Power BI and Data Gateway

This is blocking automation that the API otherwise provides. You allow SPN to use the API and be a workspace Admin. Why not Gateway?

's profile image Profile Picture

Jan Isacsson on 31 May 2021 20:24:04

RE: Service principal with Power BI and Data Gateway

I take it for granted that a Service Principal should be able to authenticate and retrieve information from Azure SQL Server. How else to handle data sources in various reporting solutions in a secure way and which also handles rotation of the organization's staff? We don't want report credentials to be personal and using old fashion SQL Server Authentication is not a good alternative to this.

's profile image Profile Picture

Darren Price on 14 Jan 2021 12:10:58

RE: Service principal with Power BI and Data Gateway

To follow this https://devblogs.microsoft.com/premier-developer/secure-access-to-azure-sql-servers-for-power-bi/ and stick with our principle not to use local SQL logins we need this feature ASAP

's profile image Profile Picture

Power BI Ideas Admin on 06 Jul 2020 00:17:16

RE: Service principal with Power BI and Data Gateway

There are lots of limitations spn gateway access which is public preview

please see below

https://github.com/jayendranarumugam/GatewayAutomation/blob/master/README.md#limitation-as-of-may-2020

's profile image Profile Picture

Jayendran on 06 Jul 2020 00:14:34

RE: Service principal with Power BI and Data Gateway

The spn access for gateway alone is in public preview

https://community.powerbi.com/t5/Community-Blog/Data-Gateway-Automation-using-PowerShell-Part-1/ba-p/1117330

's profile image Profile Picture

satish on 06 Jul 2020 00:11:12

RE: Service principal with Power BI and Data Gateway

'+ 1 we need it