microsoft / microsoft/fabric-cli

[FEATURE] Add device code authentication

Open
#215 5 comments 1 reaction 1 assignee View on GitHub

@HasanAboShally is already working on this.

Since Apr 23, 2026.

enhancement
Dominant language
Python
Stars
173
Forks
63
Avg merge
2d 19h
Merged PRs (30d)
4

Description

Use Case / Problem

Right now, if a user is using WSL with fabric cli and try to login to Fabric, the user login workflow opens File Explorer in the Windows environment instead of the browser.

Proposed Solution

Use the device code authentication workflow like most other Microsoft CLI products so that the bug in the user login flow described in #208 is no longer an issue. This is a better approach for command-line-only systems like WSL and should be the standard approach.

Alternatives Considered

pivot to SP and other approaches or use Windows PowerShell on machine

Impact Assessment
  • This would help me personally
  • This would help my team/organization
  • This would help the broader fabric-cli community
  • This aligns with Microsoft Fabric roadmap items
Implementation Attestation
  • I understand this feature should maintain backward compatibility with existing commands
  • I confirm this feature request does not introduce performance regressions for existing workflows
  • I acknowledge that new features must follow fabric-cli's established patterns and conventions
Implementation Notes

No response

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.