Authorization issue

Niren Adhikary 96 Reputation points
2022-04-28T13:21:40.873+00:00

ERROR: {'code': 'AuthorizationFailed', 'message': "The client ' with object id ' does not have authorization to perform action 'Microsoft.Resources/deployments/validate/action' over scope '/subscriptions/764863/resourcegroups/
rg/providers/Microsoft.Resources/deployment' or the scope is invalid. If access was recently granted, please refresh your credentials."}
This error comes during azure devops deployment.
We are using service connection using service principal

Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.