Service connection field 'azureSpnPermissions' is not expected in Azure Resource Manager connections using the Managed Service Identity authentication scheme.

Kumar, Krishana 0 Reputation points
2023-07-06T02:06:19.23+00:00

When I try to get the Key vault secrents in my devops variable group. I am getting following error. I have contribute permission on Key vault and have All policy access.

Service connection field 'azureSpnPermissions' is not expected in Azure Resource Manager connections using the Managed Service Identity authentication scheme.
Parameter name: endpoint.Data[azureSpnPermissions]

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
256 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
823 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,159 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shweta Mathur 27,711 Reputation points Microsoft Employee
    2023-07-07T06:11:28.77+00:00

    Hi @Kumar, Krishana ,

    Thanks for reaching out.

    It seems like you are trying to use Managed Service Identity authentication scheme to access Azure Key Vault, but the service connection field 'azureSpnPermissions' is not expected in Azure Resource Manager connections. This error occurs when you try to use the wrong authentication scheme to access the Key Vault.

    Currently, Azure DevOps is not supported on Microsoft Q&A.

    The Azure DevOps team and community are active and answering questions on https://developercommunity.visualstudio.com/spaces/21/index.html Please post your question there and experts will guide you.

    Hope this will help.

    Thanks,

    Shweta


    Please remember to "Accept Answer" if answer helped you.

    0 comments No comments