Azure Functions: The Consumption pricing tier is not allowed in this resource group


Azure Functions: The Consumption pricing tier is not allowed in this resource group


Issue:

·       The Consumption pricing tier is not allowed in this resource group

·       Dynamic pricing tier is not allowed in this resource group


Solution:

You may face this exception while creating the Azure functions in an existing resource group.


The Consumption pricing tier is not allowed in this resource group


The most important reason of this issue is “Scale Unit”.
Scale units are the underlying hardware and software that Microsoft manages, that Azure web apps runs on top off.

The fact that it doesn't always work in an existing Resource Group is a known limitation since Functions are not enabled in all scale units.
Eventually, all scale units will support Dynamic aka Consumption, and this condition will no longer be there.

Until then you can,
·       Create a new Resource Group.
·       Move your resource to other resource group where Consumption plan is supported.
·       Wait for consumption plan to be available in all scale units.



References:


I hope this helps.  Please share your feedback






No comments:

Post a Comment