We are exporting our Azure Key vault to a ARM template. However we get a warning that says:
Microsoft.KeyVault/vaults/accessPolicies cannot be exported yet and is not included in the template. See error details.
Raw Error:
{
"code": "ExportTemplateCompletedWithErrors",
"message": "Export template operation completed with errors. Some resources were not exported. Please see details for more information.",
"details": [
{
"code": "ExportTemplateProviderError",
"target": "Microsoft.KeyVault/vaults/accessPolicies",
"message": "Could not get resources of the type 'Microsoft.KeyVault/vaults/accessPolicies'. Resources of this type will not be exported."
}
]
}
The weird thing is that in the template there is a complete section of accessPolicies that match our current settings under the tab Access policies. Exactly what is not exported?





