can't deploy Traffic Manager

G Aweh 1 Reputation point
2022-07-10T19:02:28.573+00:00

Can't deploy traffic manager
{"telemetryId":"06975bb0-4d55-4e98-b69e-0fca37da69e8","bladeInstanceId":"Blade_93561c1d487a49e09877b7786b4439f2_7_0","galleryItemId":"Microsoft.TrafficManagerProfile","createBlade":"CreateTrafficManagerBlade","code":"InvalidTemplateDeployment","message":"The template deployment failed because of policy violation. Please see details for more information.","details":[{"code":"RequestDisallowedByPolicy","target":"gtrafficmanager","message":"Resource 'gtrafficmanager' was disallowed by policy. (Code: RequestDisallowedByPolicy)","additionalInfo":[{"type":"PolicyViolation","info":{"policyDefinitionDisplayName":"Require a tag and its value on resources","evaluationDetails":{"evaluatedExpressions":[{"result":"False","expressionKind":"Field","expression":"tags[Department]","path":"tags[Department]","targetValue":"Sales","operator":"Equals"}]},"policyDefinitionId":"/providers/Microsoft.Authorization/policyDefinitions/1e30110a-5ceb-460c-a204-c1c3969c6d62","policyDefinitionName":"1e30110a-5ceb-460c-a204-c1c3969c6d62","policyDefinitionEffect":"deny","policyAssignmentId":"/subscriptions/54566dcb-fbd7-4e30-8750-889691282bbb/providers/Microsoft.Authorization/policyAssignments/0254590294044a10be68087a","policyAssignmentName":"0254590294044a10be68087a","policyAssignmentDisplayName":"Require a tag and its value on resources","policyAssignmentScope":"/subscriptions/54566dcb-fbd7-4e30-8750-889691282bbb"}}],"policyDetails":[{"isInitiative":false,"assignmentId":"/subscriptions/54566dcb-fbd7-4e30-8750-889691282bbb/providers/Microsoft.Authorization/policyAssignments/0254590294044a10be68087a","assignmentName":"Require a tag and its value on resources","nonComplianceMessage":null,"viewDetailsUri":"https://portal.azure.com#blade/Microsoft_Azure_Policy/EditAssignmentBladeV2/assignmentId/%2Fsubscriptions%2F54566dcb-fbd7-4e30-8750-889691282bbb%2Fproviders%2FMicrosoft.Authorization%2FpolicyAssignments%2F0254590294044a10be68087a"}]}]}

Azure Traffic Manager
Azure Traffic Manager
An Azure service that is used to route incoming network traffic for high performance and availability.
111 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Luis Rodriguez 6,191 Reputation points Microsoft Employee
    2022-07-10T22:29:35.877+00:00

    Hello @G Aweh

    Welcome to Microsoft Q&A Platform,

    From the error message it seems clearly that you don't have the permissions required. You have to check this with whoever manages the policies in your organization.

    https://learn.microsoft.com/en-us/azure/governance/policy/overview

    I hope this helps!

    ----------

    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments