microsoft / microsoft/powerbi-powershell
Connect-PowerBIServiceAccount : Asking for ServicePrincipal flag for non-interactive user login
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 413
- Forks
- 134
- Avg merge
- 33m
- Merged PRs (30d)
- 1
Description
Hi,
I am trying to use Connect-PowerBIServiceAccount to non interactively login to PowerBI, using the below command,
Command:
Connect-PowerBIServiceAccount -Credential $PbiCredential
However this is asking for ServicePrincipal flag ?!
Error:
cmdlet Connect-PowerBIServiceAccount at command pipeline position 1
Supply values for the following parameters:
ServicePrincipal:
Module Version:
Binary 1.0.326 MicrosoftPowerBIMgmt.Profile
Binary 1.0.326 MicrosoftPowerBIMgmt.Workspaces
Powershell:
Major Minor Build Revision
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing Connect-PowerBIServiceAccount -Credential $PbiCredential with MicrosoftPowerBIMgmt.Profile 1.0.326 and the supplied PowerShell environment. No source file or test is named; done means establishing whether the non-interactive login behavior is incorrect and documenting or correcting the handling of the ServicePrincipal parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100