Code: ResourceMovePolicyValidationFailed) Resource 'XXXX' was disallowed by policy. Reasons: 'Azure Cosmos DB should have minimum TLS 1.2 enabled'

Raj Rabeya (INFOSYS LIMITED) 0 Reputation points Microsoft Vendor
2024-05-17T16:33:18.5866667+00:00

When I checked in Networking --> connectivity of Azure cosmso DB I could see the TLS 1.2 is enabled.

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,478 questions
Azure Resource Mover
Azure Resource Mover
An Azure service used for moving multiple resources between Azure regions.
212 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Azar 20,665 Reputation points
    2024-05-17T16:58:31.2933333+00:00

    Hi there Raj Rabeya (INFOSYS LIMITED)

    Thats a good question and thanks for using QandA platform

    To resolve the RequestDisallowedByPolicy error when deploying an ARM template or Bicep file, you need to find which policy is blocking the deployment. Within that policy, you need to review the rules so you can update your deployment to comply with the policy.

    az policy definition show --name
    

    I suggest you to run through this documentation fore a detailed info

    https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-policy-requestdisallowedbypolicy?tabs=azure-cli

    If this helps kindly accept the answer thanks much.