,

SCCM Cloud Management Gateway might fail on new Azure Subscriptions

If you are deploying a Cloud Management Gateway (CMG) in System Center Configuration Manager, and you are using a newly created Azure Subscription, you might see the following error when deploying the CMG:

Resource Manager – Failed to list keys for storage <name of cmg> with status code: NotFound

SNAGHTML108870e

If you then navigate to the Activity log on the Resource Group for the subscription, you can see that the Microsoft.ClassicCompute resource provider is missing.

image

This is a recent change (to my knowledge) that will affect all new Azure Subscriptions as the Azure Team has decided that the Microsoft.ClassicCompute will be disabled on all new subscriptions.

And since the Configuration Manger CMG still requires this uses the Classic Provider, we need to enable it.

This can be done under “Resource Providers” in the subscription. Just find the Microsoft.ClassicCompute provider, and click Register.

image

Delete the failed Cloud Management Gateway, re-create it, and everything should be just fine…

SNAGHTML10a1f22

As you can in Azure, the CMG is running as a Classic Cloud Service.

SNAGHTML10a6b10

That’s it…

/Enjoy

Get new posts by email

Practical articles on Intune, Windows and endpoint security, plus Workplace Ninja meetups. No spam, unsubscribe anytime.

10 responses to “SCCM Cloud Management Gateway might fail on new Azure Subscriptions”

  1. Can’t believe the timing of this. I’m working through the Microsoft’s Labs on Managing Modern Desktops and had this exact issue as you have to create a new tenant for CMG etc.

    Took me hours to work out the problem and only fixed it yesterday!

    I’m sure this will help many others out there in the community 🙂

  2. […] SCCM Cloud Management Gateway might fail on new Azure Subscriptions via Ronni Pedersen […]

  3. Carl Meilleur

    Don’t also Forget that anyone with a CSP subscription won’t even have access to the classic.compute…

    trying to find a timeline to when it’ll be supported

    1. There is no public timeline… I keep asking the Product Group every time I get the chance 🙂

      1. Have you heard anything on this Ronni? Running up against this for a client as well.

  4. Shakti Vaghela

    Thank you for the amazing finding. It helped me with my recent deployment. I also found that, It also required Microsoft.ClassicStorage to be registered. My deployment was failing even after registering the Microsoft.ClassicCompute provider so I did some troubleshooting and found that it also needed Microsoft.ClassicStorage provider.

  5. Evan Skillings

    Thanks! This saved me a bunch of time troubleshooting a failed CMG setup.

    I did also have to register Microsoft.Storage as I received a similar error on the second try.

    Going back now I can see that this is listed out on the Microsoft docs-

    The Microsoft.ClassicCompute & Microsoft.Storage resource providers must be registered within the Azure subscription. For more information, see Azure Resource Manager

    https://docs.microsoft.com/en-us/sccm/core/clients/manage/cmg/setup-cloud-management-gateway

  6. Johan Falstrup

    I’ve got the exact same error, but the Microsoft.ClassicCompute is already registered. But If I check under the Ressource Groups Activity log I can see the error:

    “The Resource ‘Microsoft.Storage/storageAccounts/”mycloudservice”‘ under resource group ‘”myresourcegroup”‘ was not found.”

    Any idea why?

  7. […] Microsoft.ClassicCompute & Microsoft. Storage resource providers must be registered within the Azure subscription. For more details refer Ronny blog. […]

  8. Thanks for the post. This solved my issue.