You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating some PBI data-tenants that are managed by B2B admins. We'd like these admins to be able to run the PBI PowerShell commands but the Connect-PowerBIServiceAccount doesn't allow specifying the -Tenant parameter for the 'User' parameter set.
This prevents B2B guest admins from being able to administer the PBI tenant, like create workspaces, etc.
joem-msft
changed the title
Support -Tenant parameter on Connect-PowerBIServiceAccount when using the UserParameterSet
Support -Tenant parameter on Connect-PowerBIServiceAccount when using the UserParameterSet and UserAndCredentialPasswordParameterSet
Oct 7, 2020
This would allow the PS command parameter set parsing to stop giving the error reported above, as the code already had the implementation needed to apply the TenantId parameter to the environment.
@matt40k, The Power BI module commands don't have access to the authentication token in the Az modules. Furthermore, the resource endpoints being accessed from the Az modules are a different AD resource than the Power BI apis, so the token used for Azure management endpoints won't work with Power BI endpoints anyways.
Any changes on this issue planned? As far as I can see there is still no guest user support or is it possible to use CustomEnvironment for that (if yes, are there any examples)?
I'm creating some PBI data-tenants that are managed by B2B admins. We'd like these admins to be able to run the PBI PowerShell commands but the Connect-PowerBIServiceAccount doesn't allow specifying the -Tenant parameter for the 'User' parameter set.
This prevents B2B guest admins from being able to administer the PBI tenant, like create workspaces, etc.
Command:
Give the following error:
I'm running version 1.0.840 of the MicrosoftPowerBIMgmt module.
The original PR that added the -Tenant parameter was: https://github.com/microsoft/powerbi-powershell/pull/42/files
The text was updated successfully, but these errors were encountered: