What Can I Do If the Message "The number of agencies has reached the maximum!" Is Displayed When I Enable COC?
Symptom
When enabling COC, the error message "The number of agencies has reached the maximum!" is displayed.
Cause Analysis
The number of agencies exceeds the quota. When you enable COC, the system automatically creates the agency ServiceAgencyForCOC for you and completes authorization. If there is no remaining IAM agency quota, COC fails to be enabled and the error message is displayed.
Solution
- Log in to the IAM console.
- In the navigation pane on the left, choose Agencies.
- View the number of agencies that you can create. Figure 1 Viewing the number of agencies that you can create
- If there is no quota, perform one of the following operations as required.
- Apply for a higher quota. For details, see Quota Adjustment.
- Delete an agency that is no longer required.
After you delete an agency, all permissions granted to the delegated account will be cancelled.
Figure 2 Deleting a single agency
Figure 3 Deleting agencies in batches
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot