Skip to content

AzureAuth error when called from a VSCode extension #408

Description

I'm working on a VSCode extension that users can use to generate PAT for their dev environment by calling

import { exec } from 'child_process';

exec( azureauth ado pat --organization someorg --display-name patName --scope vso.packaging_write --prompt-hint none`)

and I keep getting this error below

Failed to generate PAT: Error: 2024-09-16 22:27:59.6371 | ERROR | logger: Microsoft.Office.Lasso.LassoMcMaster | One or more errors occurred. (Read-only file system : '/.IdentityService') 2024-09-16 22:27:59.6396 | ERROR | logger: Microsoft.Office.Lasso.LassoMcMaster | An unexpected error ocurred. Re-run with --verbosity=debug for more info.

Any ideas here? Is it possible to call AzureAuth in a VSCode extension? How would one approach this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions