Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

DataGateway PowerShell module incompatible with MicrosoftPowerBIMgmt

I know the DataGateway module (https://www.powershellgallery.com/packages/DataGateway/3000.76.18) is in public preview, but it appears to be impossible to use in the same session as MicrosoftPowerBIMgmt - connecting with Connect-DataGatewayServiceAccount means that other Power BI cmdlets just hang in the console with no ability to cancel the command (ctrl+c). You can connect the Power BI service account before the data gateway service account, but not the other way around, but after doing this, cannot call e.g. Invoke-PowerBIRestMethod.

 

Repro steps:

Open a pwsh.exe session

Run the below commands:

Connect-DataGatewayServiceAccount

Connect-PowerBIServiceAccount

Status: Investigating
Comments
Anonymous
Not applicable

Hi @JoshT 

The computer permissions are controlled and I have no way to test your issue.

Based on the above information, if you are a Power BI Pro licensee, you can create a support ticket for free and a dedicated Microsoft engineer will come to solve the problem for you.

It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

The link of Power BI Support: https://powerbi.microsoft.com/en-us/support/

For how to create a support ticket, please refer to https://community.powerbi.com/t5/Community-Blog/How-to-create-a-support-ticket-in-Power-BI/ba-p/6830...

 

Best Regards,
Community Support Team _ Ailsa Tao

JoshT
Advocate III

After a very long time, I have a final response from Microsoft support:

 

"We raised the ticket, and we got a confirmation from our PG(product group) that this is a incompatibility issue regarding this issue and will be updated in the documents soon.

Gateway PowerShell module and PowerBI module are built on different infra, and the login in principals have different permission requirement."