microsoft / microsoft/powerplatform-vscode

BUG: Configuration Migration Tool permission denied issue

Open
#1,019 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
277
Forks
60
Avg merge
1d 1h
Merged PRs (30d)
14

Description

I think there is some sort of bug while using CMT tool in GCC. I have 2 different AD accounts to login into Power Platform. One is daily driver which does not have SA role but that's what i use to login into my Windows. The second account is privileged account and has SA role. When i launch cmt using PAC CLI and try to login with my privileged account, it displays the list of environments that my privileged account have access to. But once i select the environment from the list and click on 'Create Schema', i believe it uses my Windows account (daily driver without SA role) since i get 'You don't have permission to perform this action' error message.

I downloaded the CMT tool from nuget and replicated the same process but i didn't get permission error message and was able to migrate data.

image

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 reproducing the PAC CLI CMT flow in GCC with separate daily-driver and privileged AD accounts, selecting an environment and choosing “Create Schema.” Compare that behavior with the NuGet CMT flow described in the issue. Done means the selected privileged account is used consistently and the permission error no longer occurs for an account with the required SA role.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
authorization, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.