By using this site, you agree to the Privacy Policy.
Accept
EnterinITEnterinITEnterinIT
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Reading: PowerBI On-premises data gateway PowerShell Public Preview
Font ResizerAa
EnterinITEnterinIT
Font ResizerAa
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
  • WINDOWS
  • SCCM Query Collection List
Search
  • HOME
  • IT PRO
  • TECH
  • MICROSOFT
    • Azure
    • ConfigMgr/SCCM
    • DPM
    • Orchestrator
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Office 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Teams
  • WINDOWS
    • Windows Admin Center
    • Windows Client
    • Windows Server
  • SCCM Query Collection List
Power BI

PowerBI On-premises data gateway PowerShell Public Preview

Published February 18, 2024
3 Min Read
SHARE

PowerBI On-premises data gateway PowerShell Public Preview. You can manage:

Contents
Gateway Management:Data source (Power BI) management:
  • On-premises data gateways
  • Power BI Data sources

NOTE: These cmdlets require PowerShell core 6.2.2 or higher

The cmdlets can be installed in an elevated PowerShell session:

Install-Module -Name DataGateway

Gateway Management:

Following are PowerShell cmdlets that can be used for administering gateway clusters and members:

  • Lists all gateway clusters for the current user or a specific one based on the passed parameters
Get-DataGatewayCluster
  • Returns the cluster status along with additional properties
Get-DataGatewayClusterStatus
  • Lists users authorized to install and register gateways within the tenant
Get-DataGatewayInstaller
  • Returns the gateway installation and registration policy for the tenant
Get-DataGatewayTenantPolicy
  • Add a specific user to a gateway cluster for specific permissions
Add-DataGatewayClusterUser
  • Set properties of an existing gateway cluster
Set-DataGatewayCluster
  • Modify the list of users who can install and register new gateways on the tenant
Set-DataGatewayInstaller
  • Set the gateway installation and registration policy for the tenant
Set-DataGatewayTenantPolicy
  • Remove a gateway cluster
Remove-DataGatewayCluster
  • Remove a gateway member from the corresponding gateway cluster
Remove-DataGatewayClusterMember
  • Remove a user from a gateway cluster
Remove-DataGatewayClusterUser

These cmdlets can be run under a tenant evel scope. This would require the user to be a global Office 365 admin or a Power BI service admin. For instance, the following cmdlet would return all gateways within your tenant.

Get-DataGatewayCluster -Scope Organization

Running the same command without the scope parameter or with the “Individual” scope would return the list of gateways, you are the administrator of.

Get-DataGatewayCluster -Scope Individual

The new cmdlet, which allows tenant admins to restrict the installation of on-premises data gateway ins standard mode is as follows. The tenant admin can then allow specific users to install using the Set-DataGatewayInstaller cmdlet.

Set-DataGatewayTenantPolicy -ResourceGatewayInstallPolicy Restricted

Data source (Power BI) management:

Following are PowerShell cmdlets that can be used for managing Power BI data sources:

  • Add a user with the required permissions for a Power BI data source
Add-DataGatewayClusterDatasourceUser
  • Lists all Power BI data sources on a gateway cluster or a specific one based on the passed parameters
Get-DataGatewayClusterDatasource 
  • Returns the connectivity status of a data source in a gateway cluster
Get-DataGatewayClusterDatasourceStatus
  • Lists users who have access to the specific Power BI data source in a gateway cluster
Get-DataGatewayClusterDatasourceUser
  • Removes a Power BI data source from a gateway cluster
Remove-DataGatewayClusterDatasource
  • Removes a user from a Power BI data source
Remove-DataGatewayClusterDatasourceUser
  • Set properties of an existing Power BI data source
Set-DataGatewayClusterDatasource
TAGGED:Microsoft Power BIPowerShell
Previous Article Azure AD Connect Error stopped-deletion-threshold-exceeded
Next Article Microsoft Ignite 2019 Office mobile app
Leave a Comment Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Translation

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
by Transposh - translation plugin for wordpress

Popular Posts

System Requirements for Windows Server 2016
Windows Server
Configuration Manager Query Collection List
Configuration Manager Query Collection List
ConfigMgr
Structured/Managed Navigation enabled on Modern Pages in Classic Team Sites
Tech
SCCM Failed to get DP locations as the expected version from MP
ConfigMgr

Recent Posts

Installing and Configuring Fail2ban for SSH Protection on Ubuntu 24.04
Linux
Enabling and Configuring FirewallD on AlmaLinux
Linux
User Creation and SSH Key Setup in AlmaLinux
Linux
How to reset password on AlmaLinux
Linux

© 2023 EnterinIT

Go to mobile version
adbanner
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?