microsoft / powerbi-powershell

PowerShell community for Microsoft PowerBI. Here you will find resources and source for PowerShell modules targeting PowerBI.
MIT License
344 stars 118 forks source link

[ConnectPowerBIServiceAccount ] Support for Tenant parameter for User #378

Closed marinafusterms closed 1 year ago

marinafusterms commented 1 year ago

Previously, -Tenant could only be used with ServicePrincipal. This PR refactors powershell command to include support for User (therefore allowing B2B users to utilize powershell to connect to their guest user accouns).

User command without tenant

WorksWithoutTenant

User command with tenant

WorksWithTenant

B2B User with tenant (email is guest user in onebox tenant)

WorksWithB2B