Azure pipeline Terraform action error

Azuretech 90 Reputation points
2023-03-07T18:30:15.2366667+00:00

I am getting below error while running terrfaorm code for policy deployment. I am using multitenant app as service principal and

provided required access for the app in subscription

User's image

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
115 questions
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
808 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,910 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Akshay-MSFT 16,516 Reputation points Microsoft Employee
    2023-03-09T11:10:03.39+00:00

    @Azuretech

    Thank your for posting your query on Microsoft Q&A. Error 401 could be caused due to permissions issue. Kindly validate the following:

    Please do let me know if you have any queries in the comments section.

    Thanks,

    Akshay Kaushik

    Please "Accept the answer" (Yes/No), and share your feedback if the suggestion works as per your business need. This will help us and others in the community as well.

    0 comments No comments