microsoft / microsoft/powerbi-powershell
Switch parameter on 'Connect-PowerBIServiceAccount' to check if logged in
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 413
- Forks
- 134
- Avg merge
- 33m
- Merged PRs (30d)
- 1
Description
Connect-PowerBIServiceAccount always prompt for authentication, we can use Get-PowerBIToken to check if there is already a login. But a simple enhancement is to add a parameter that just checks & renews the token without asking for credentials.
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 tracing Connect-PowerBIServiceAccount and Get-PowerBIToken to understand the current authentication and token-renewal flow. Define the new parameter's behavior for an existing login and verify that it can renew or check the token without prompting for credentials; done should include coverage for both logged-in and unauthenticated cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100