Hello @Sanjay Tiwari,
The error message you’re encountering indicates that there was a failure in creating a Personal Access Token (PAT) for your user in Azure DevOps. To resolve this, you should deploy your app using the ‘Other’ deployment source instead of ‘Azure DevOps’. After the app is created, you will need to open it and follow the instructions provided to obtain the PAT necessary for deployment.
To create a PAT in Azure DevOps, you can follow these steps:
- Sign in to your Azure DevOps organization.
- Navigate to User settings and select Personal access tokens.
- Click on New Token, provide a name, and set an expiration date.
- Choose the appropriate scopes for your token based on the tasks you need to perform. For example, if you need to manage agent pools, select Agent Pools (Read & manage). After configuring, click Create and make sure to copy the token as it will not be displayed again after you leave the page.
If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.