Showing results for 
Search instead for 
Did you mean: 
New Member

Unable to view Service principal in Gateway users

Hi Team,


We are trying to add a ServicePrincipal Object ID to a gateway cluster using PowerShell scripts and the script got successfully executed. We could see the ServicePricipal Object ID in the gateway permissions response from the Get-DataGatewayCluster PowerShell script. 

We could also use the ServicePrincipal secrets to get the Gateway Datasource through API which confirms that the ServicePricipal is successfully added to the gateway cluster.

But we are not able to see the ServicePricipal in the Gateway Users in the PowerBI web Application. Request your inputs on this.

* I would also like to confirm that we are using the objectID from Managed application in local directory -> properties 




Community Support
Community Support

Hi, @KishorKumar 


Here are some references that may be helpful

Embed Power BI content with service principal and an application secret

How to add a Service Principal as a Gateway Admin inorder to get a list of gateways using API ?

Service Principal with Power BI using Data Gateway



Best Regards,
Community Support Team _ Zeon Zheng

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!