microsoft / microsoft/powerbi-powershell
Connect-PowerBIServiceAccount -ServicePrincipal Issue
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 413
- Forks
- 134
- Avg merge
- 33m
- Merged PRs (30d)
- 1
Description
Hi Team,
I am using below PowerShell command to login to service using service principal instead of username and password but it is not working.
Connect-PowerBIServiceAccount -ServicePrincipal -Credential (Get-Credential)
On the pop-up, i entered Client ID & Secret as username and password.
I got a below error message.
Connect-PowerBIServiceAccount : One or more errors occurred.
At line:1 char:1
- I have created a service principal
- Created a security group and added the service principal
- Added the security group on Power BI Admin tenant settings.
What else am i missing? Can someone help me?
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 -ServicePrincipal -Credential (Get-Credential) and reviewing the service-principal authentication configuration. Done means identifying the missing prerequisite or confirming a product defect; the issue names no source file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100