Forum Discussion

ThiagoHMattos's avatar
Aug 06, 2025
Solved

Terraform export template on Azure Portal

Hello, guys! I'm facing an issue during my export template by terraform.
I Already registered on my subscription the Microsoft.AzureTerraform, the status is registered, i re-register again and did not change.

Anyone else has faced the same issue? How do you solved it?

 

  • Take this:

     

    1. Verify Provider Registration

     

    • Go to Azure Portal > Subscriptions > Resource Providers
    • Search for Microsoft.AzureTerraform
    • Click Unregister, wait a few minutes, then Register again
    1. Use Supported Resource Types

    Not all Azure resources are supported yet. Try exporting a simple resource like a Storage Account or Virtual Machine first.

    1. Use the Correct Export Path
    • Go to the resource in Azure Portal
    • Click Export Template in the left menu
    • Select the Terraform tab (next to ARM and Bicep)
    • Choose either AzureRM or AzAPI provider

    If the Terraform tab doesn’t show up, the resource might not be supported or the provider registration hasn’t fully propagated.

    1. Try a Different Browser or Clear Cache

    Some users have reported success after switching browsers or clearing cookies/cache.

1 Reply

  • Take this:

     

    1. Verify Provider Registration

     

    • Go to Azure Portal > Subscriptions > Resource Providers
    • Search for Microsoft.AzureTerraform
    • Click Unregister, wait a few minutes, then Register again
    1. Use Supported Resource Types

    Not all Azure resources are supported yet. Try exporting a simple resource like a Storage Account or Virtual Machine first.

    1. Use the Correct Export Path
    • Go to the resource in Azure Portal
    • Click Export Template in the left menu
    • Select the Terraform tab (next to ARM and Bicep)
    • Choose either AzureRM or AzAPI provider

    If the Terraform tab doesn’t show up, the resource might not be supported or the provider registration hasn’t fully propagated.

    1. Try a Different Browser or Clear Cache

    Some users have reported success after switching browsers or clearing cookies/cache.

Resources