Azure / Azure/azure-cli

Error occurred in request., InvalidSchema: No connection adapters were found using AzureCli@2 on windows-latest ADO agent

Open
#25,040 6 comments 0 reactions 0 assignees View on GitHub
act-platform-engineering-squad Auto-Assign customer-reported DevOps Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

ERROR: Error occurred in request., InvalidSchema: No connection adapters were found for 'C:/Program Files/Git/subscriptions/subscriptionName/resourceGroups/resourceGroupName/providers/Microsoft.Authorization/roleDefinitions?$filter=roleName%20eq%20%27reader%27&api-version=2018-01-01-preview'.

We are unable to assign roles using azurecli@2 in ADO pipeline using command az functionapp identity assign having ADO agent using vmImage: 'windows-latest'. Any suggestion on the adapters and why are we getting this issue. Below commands works perfectly : az functionapp identity show

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.