Skip to content

"The requested operation is not allowed" when using --azure-credential #976

@winstliu

Description

@winstliu

Super excited to see vsce support Entra auth!

I was trying it today but ran into the following error:

 INFO  Publishing 'redacted.redacted v1.2024.510002'...
 ERROR  {"$id":"1","innerException":null,"message":"The requested operation is not allowed.","typeName":"Microsoft.TeamFoundation.Framework.Server.InvalidAccessException, Microsoft.TeamFoundation.Framework.Server","typeKey":"InvalidAccessException","errorCode":0,"eventId":3000}

The publish command is vsce publish --azure-credential --packagePath $(Pipeline.Workspace)\drop_build_main\redacted.vsix

The service principal does have the right permissions on the marketplace publisher.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions