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

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors