But of course, Microsoft and NetApp continue to bring new features and more value to this great service. There is one tiny caveat… at this time, the snapshot policy feature is currently in preview. But don’t worry, the registration process is painless. We’ll have you creating snapshot policies in just a few minutes.
As a prerequisite, you’ll need Azure PowerShell installed and connected to your Azure account:
Install-Module -Name Az -AllowClobber -Scope CurrentUser
Connect-AzAccount
Once you have successfully connected to your Azure account, continue with registering the ‘ANFSnapshotPolicy’ feature:
Register-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFSnapshotPolicy
Lastly, verify the feature is ‘Registered’:
Get-AzProviderFeature -ProviderNamespace Microsoft.NetApp -FeatureName ANFSnapshotPolicy