简体   繁体   中英

Azure Cosmos DB - 'RequestDisallowedByPolicy' error while creating container

While creating cosmos db container I am getting below error:

Error creating database: {"code":403,"message":"{\"error\":{\"code\":\"RequestDisallowedByPolicy\",\"target\":\"scolNextGen\",\"message\":\"Resource 'scolNextGen' was disallowed by policy. Policy identifiers: '[{\\\"policyAssignment\\\":{\\\"name\\\":\\\"Allowed resource types custom\\\"

As per the docs

For security or compliance, your subscription administrators might assign policies that limit how resources are deployed. For example, your subscription might have a policy that prevents creating Public IP addresses, Network Security Groups, User-Defined Routes, or route tables. The error message in the Symptoms section shows the name of the policy. To resolve this problem, review the resource policies, and determine how to deploy resources that comply with those policies.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM