Trying to add Front Door to a brand new blob storage account, I get: "Property EnforceMtls is not allowed to set in current API Version"

Thomas Boutell 45 Reputation points
2025-07-14T12:38:48.9866667+00:00

It's the strangest thing - I set up a brand new blob storage account, create a container, and click to create a matching Front Door, and the deployment starts, but eventually fails with the above error.

I'm using all default settings. I have no idea what to make of the advice that I should use a different API version because, again, this is a brand new blob storage account and Microsoft decides what APIs are involved in that. I assume!

Has anyone else seen this issue?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
{count} votes

2 answers

Sort by: Most helpful
  1. Daniel Tarabocchia 50 Reputation points
    2025-07-29T01:41:39.78+00:00

    Hi all. I was having the same issue while trying to deploy Front Door Standard to a brand new storage account through the Azure portal. They way I resolved it was to let the initial deployment fail. When the result pane comes up showing the failure, there is an option to re-run the deployment. When you select this option, it gives you the ability to edit the deployment template. I edited the template and removed "enforceMtls" from the properties section of the JSON and saved it.

    "properties": {

    ...
    
    "enforceMtls": "Disabled",
    
    ...
    

    }

    Upon re-running the deployment with the updated template, the deployment succeeded.

    10 people found this answer helpful.

  2. G Sree Vidya 4,005 Reputation points Microsoft External Staff Moderator
    2025-07-14T19:33:25.84+00:00

    Hello Thomas Boutell

    The error "Property EnforceMtls is not allowed to set in current API Version" when adding Azure Front Door to a new Blob Storage account indicates an issue with the API version used in the deployment, but the API version used (e.g., an older version like 2020-05-01) does not support this property. Newer API versions (e.g., 2023-05-01 or later) may handle or exclude EnforceMtls differently.

    Since you mentioned using all default settings, ensure that your blob storage account was created with the correct settings for compatibility with Front Door.

    If the API version is outdated (e.g., pre-2023), try deploying Front Door using a newer API version via Azure CLI, PowerShell, or a custom Bicep/ARM template

    You can check the versioning settings and configure the Minimum TLS version if necessary.

    You might need to set the blob service properties to an earlier version manually using the Azure Storage REST API. Use the Set Blob Service Properties API to specify the API version you need.

    Refer: https://learn.microsoft.com/en-us/azure/frontdoor/front-door-faq


    I hope this helps! If these answers your query, do click the "Upvote" and click "Accept the answer" of which might be beneficial to other community members reading this thread.

    If the above is unclear or you are unsure about something, please add a comment below.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.