CMG setup fails with Cloud Services (classic)
Question
Hi All,
I am trying to setup a CMG using 3rd party cert (CLoudFlare).
We have followed https://systemcenterdudes.com/setup-and-configure-sccm-cloud-management-gateway-1806/ however is fails.
THis is what it show on AZure sigin logsĀ : The create deployment operation failed for the domain ‘***becmg’ in the deploymentCloudMgr.log slot ‘Production’ with the name ‘***becmg-deployment’: ‘Instead of creating Cloud Services (classic), you should now create Cloud Services (extended support) using Azure Resource Manager. Learn more at.
Cloudmgr.log says :
ERROR: Resource Manager – Deployment operation details: {“value”:[{“id”:”/subscriptions/e9188070-470a-469a-b39d-73c34e8bfe10/resourceGroups/faukw-sccm-intune-rg/providers/Microsoft.Resources/deployments/CreateDeploymentSlota395804f-5640-4ef6-93a9-232c5805aee0/operations/2CF0D5A84CADEF48″,”operationId”:”2CF0D5A84CADEF48″,”properties”:{“provisioningOperation”:”Create”,”provisioningState”:”Failed”,”timestamp”:”2021-12-09T12:36:42.7531192Z”,”duration”:”PT38.9439413S”,”trackingId”:”8a82790c-f88a-4aba-9152-bf60a4a35fe9″,”statusCode”:”Conflict”,”statusMessage”:{“error”:{“code”:”DeploymentSlotCreateOperationFailed”,”message”:”The create deployment operation failed for the domain ‘***cmg’ in the deployment slot ‘Production’ with the name ‘***cmg-deployment’: ‘Instead of creating Cloud Services (classic), you should now create Cloud Services (extended support) using Azure Resource Manager. Learn more at – https://aka.ms/cloudservicesretirement.’.”}},”targetResource”:{“id”:”/subscriptions/e9188070-470a-469a-b39d-73c34e8bfe10/resourceGroups/faukw-sccm-intune-rg/providers/Microsoft.ClassicCompute/domainNames/***becmg/slots/Production”,”resourceType”:”Microsoft.ClassicCompute/domainNames/slots”,”resourceName”:”***becmg/Production”}}},{“id”:”/subscriptions/e9188070-470a-469a-b39d-73c34e8bfe10/resourceGroups/faukw-sccm-intune-rg/providers/Microsoft.Resources/deployments/CreateDeploymentSlota395804f-5640-4ef6-93a9-232c5805aee0/operations/F030889135C89ACD”,”operationId”:”F030889135C89ACD”,”properties”:{“provisioningOperation”:”Create”,”provisioningState”:”Succeeded”,”timestamp”:”2021-12-09T12:36:23.7318498Z”,”duration”:”PT19.9226719S”,”trackingId”:”81cc8d54-c20b-40fd-a831-b679192bf270″,”statusCode”:”OK”,”targetResource”:{“id”:”/subscriptions/e9188070-470a-469a-b39d-73c34e8bfe10/resourceGroups/faukw-sccm-intune-rg/providers/Microsoft.ClassicCompute/domainNames/***becmg”,”resourceType”:”Microsoft.ClassicCompute/domainNames”,”resourceName”:”***
– https://aka.ms/cloudservicesretirement.’.
Is it that there is other way to configure CMG nowdays or it is conflicting with Storage slot as it says in the log?
Please advise.
Br,
Kashif Ali
Answers ( 3 )
The option to deploy a CMG as a cloud service (classic) is deprecated. All CMG deployments should use a virtual machine scale set.
Hi Anoop,
Do we have any article how to do it since all the article shows cloud server (Classic) steps?
If you have any please share.
We are currently on 2010 version.
Hi,
Just addin the URL which helped me to understand the requirement and configuration much better. IT solved my issue and everything is working fine.
https://sccmentor.com/2021/08/09/installing-a-virtual-machine-scale-set-cloud-management-gateway/
https://ccmexec.com/2021/06/convert-cmg-to-vm-scale-set-memc-tp-2106/
Thanks for your help too Anoop.