There was a resource authorization issue: “The pipeline is not valid.


There was a resource authorization issue:
 “The pipeline is not valid. Job Deploy: Step AzureCLI input connectedServiceNameARM references service connection RDMW-RWF-npd which could not be found. The service connection does not exist or has not been authorized for use. For authorization details, refer to https://aka.ms/yamlauthz.”

Solution:-

You can either use existing Service principal or create a new one. All you need is in documentation already. Create an Azure Resource Manager service connection using automated security

From Azure DevOps -> Project setting -> Service connection: Then click on “New Service Connection”.Choose “Azure resource Manager” as type of service connection. Select Service Principal (Automatic). Run your pipeline

Add Comment