microsoft / microsoft/powerplatform-vscode
Unable to add or refresh Auth profile
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 60
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 14
Description
Type: Bug
I have installed VS Code again from Store, removed and installed the Power Platform extension. PAC is working in terminal, but when I try to add auth profile or refresh, I'm seeing errors:
New profile:
Error running command pacCLI.authPanel.newAuthProfile: command 'pacCLI.authPanel.newAuthProfile' not found. This is likely caused by the extension that contributes pacCLI.authPanel.newAuthProfile.
Refresh:
Error running command pacCLI.authPanel.refresh: command 'pacCLI.authPanel.refresh' not found. This is likely caused by the extension that contributes pacCLI.authPanel.refresh.
Clear:
Error running command pacCLI.authPanel.clearAuthProfile: command 'pacCLI.authPanel.clearAuthProfile' not found. This is likely caused by the extension that contributes pacCLI.authPanel.clearAuthProfile.
After installing the extension, I'm seeing notification:
Preparing pac CLI (v2.8.)...
Source: Power Platform Tools, and it stays forever. It isn't getting completed.
Extension version: 2.0.145
VS Code version: Code 1.124.2 (6928394f91b684055b873eecb8bc281365131f1c, 2026-06-12T00:12:36Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) Ultra 7 155U (14 x 2688) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x8086, DEVICE=0x7d45 [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8132 ACTIVE GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.3624 Machine model name: Machine model version: direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 31.32GB (13.47GB free) |
| Process Argv | --crash-reporter-id 399c1679-858a-4f86-bb68-8a746c5845b3 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478677
cp_cls_t_1081:31454832
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
rl_a_098a3278:31530995
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_c:31478207
hmra_i5g22:31518061
7df3h592:31512476
pro_large_t:31499376
cp_cls_t_1082:31516087
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_c_632:31524806
b1ei0813:31506238
56dj4588:31512888
32d76977:31512328
ha629193:31508444
cdk-lw-on:31524445
31fi7170_t:31522396
api_cot_off:31513532
hgf2d445:31529595
jbcp_cls_pctr_t:31531130
61138546:31518536
cp_intellij_t_nes:31533504
gf14b233:31526830
nes-curr-leftover-false:31530975
h561g132:31533256
sessions_5:31532894
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 the authentication profile commands in VS Code 1.124.2 with Power Platform Tools 2.0.145 on Windows, then inspect the Power Platform Tools output and the stuck “Preparing pac CLI” notification. Done means the new, refresh, and clear auth profile commands are registered and complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- authentication, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100