microsoft / microsoft/powerbi-powershell

How do i connect with Master User to PowerBI on PowerShell

Open
#346 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
413
Forks
134
Avg merge
33m
Merged PRs (30d)
1

Description

I am able to connect via the following using service principal ID .It is using the application ID/Secret of the service principal. Not sure if I can pass the master User ID?

$secureServicePrincipalPassword= ConvertTo-SecureString $ServicePrincipalSecret -AsPlainText -Force;
$servicePrincipal = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $ServicePrincipalId,
Connect-PowerBIServiceAccount -ServicePrincipal -Credential $servicePrincipal -Environment Public -Tenant $tenant

Any thoughts or command I can use?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Connect-PowerBIServiceAccount command and the service-principal credential example in the issue. Determine whether the command supports connecting with a master user, and identify the documented authentication options or limitation. Done means the supported command or lack of support is established and explained.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.