Cloud Management Gateway, Resource Groups & Tags


Recently while working on an implementation project for CMG, I came across an issue which I had never dealt with before. I had taken care of the usual pre-requisites, but nothing could have prepared me for what I was about to experience.

While creating the Cloud Management Gateway Service, I got the following error.



This didn’t make sense as I ensured that I have Contributor access to the resource group prior to initiating the configuration.




SmsAdminUI.log logged some errors.



This got me looking into the activity of the resource group and I verified that there was indeed an Azure policy blocking the creation of the objects.



I matched the definition id and was able to identify the policy in question. It was no other than, but the policy of Tags.








Classic providers within Azure don’t support tags. While CMG uses Azure Resource Manager framework, it still uses classic service providers for creating cloud objects. Mainly ClassicCompute and ClassicStorage. Since the customer needed the Azure policy to be in place, I got the resource group added in the exclusions.






I gave it another go at the creation of Cloud Management Gateway service and this time it went through and the CMG objects got created.





Ref - https://docs.microsoft.com/en-us/azure/azure-resource-manager/tag-support

Comments

  1. Thank you for sharing such an informative post. I appreciate the depth of research and clarity in your writing. Keep up the excellent work! Looking forward to reading more from you in the future.
    DevOps Training in Electronic City Bangalore

    ReplyDelete
  2. Wonderfully written! I appreciate your insightful insights and well-articulated points. Thanks for sharing!
    Best DevOps Training Institute in Bangalore

    ReplyDelete
  3. This is exactly what I was looking for. Your explanation is clear and concise. Thanks for posting!
    DevOps Training in Marathahalli Bangalore

    ReplyDelete
  4. Thank you for the detailed explanation! I’ve been struggling with this topic, and your post really helped clarify things.
    Microsoft Azure DevOps Training Course (AZ-400)

    ReplyDelete
  5. I love the way you’ve explained things here. It might be even more helpful if you could add a section on a related detail.
    DevSecOps Certification Training Course in Bangalore

    ReplyDelete
  6. I can relate to this! I’ve experienced something similar, and your advice resonates with me.
    DevOps Training In Bangalore

    ReplyDelete

Post a Comment

Popular posts from this blog

How to force escrowing of BitLocker recovery keys using Intune

Prevent users from running certain programs or applications on Windows endpoints using Intune

Intune: Configure Printers for Non-Administrative Users