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