microsoft / microsoft/powerbi-powershell

How can I login to PowerBI Systematically ?

Open
#338 12 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

Can I get a sample script which help me login to powerbi using user account and password systematically and list all groups / workspaces associated with the user. I do not want to manually authenticate via browser. I'm using a Mac. I tried the rest api using Python, but it is not letting me to list all groups under the user. It is giving me 401 error where as if i authenticate using powershell, i can list down the groups.

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 comparing the PowerShell authentication path with the Python REST API request described in the issue, focusing on the 401 response and workspace listing. The issue mentions no source files or tests. Done would mean documenting or providing a Mac-compatible, non-browser authentication example that successfully lists the user's groups or workspaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, python
Domain
analytics, api, authentication
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.