microsoft / microsoft/powerbi-powershell

Switch parameter on 'Connect-PowerBIServiceAccount' to check if logged in

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

Nobody has claimed this yet.

enhancement
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.