I want to connect my Azure CLI(CloudShell on azure portal) to Azure DevOps to create variable groups. But I'm getting this error when i execute
$token = <PAT Token of my ADO Project>
$token | az devops login --org "https://dev.azure.com/my-project/"`
Below is error: Failed to store PAT using keyring; falling back to file storage. You can clear the stored credential by running az devops logout.
I'm expecting to connect my Azure CLI to Azure DevOps and create variable groups over there by using Azure CLI.
My Azure CLI version is 2.59.0.
I Installed the extension azure-devops as well. But still same issue. az extension add --name azure-devops
Check the example with AZURE_DEVOPS_EXT_PAT variable for PowerShell: Use the AZURE_DEVOPS_EXT_PAT environment variable
# set environment variable for current process
$env:AZURE_DEVOPS_EXT_PAT = 'xxxxxxxxxx'