Skip to content

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

@nishantrajmitra

Description

@nishantrajmitra

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions