Hi Rob Condon,
Azure's portal view is designed to provide a simplified and user-friendly experience, but it sometimes does not show all the retained snapshots if they exceed certain limits for display purposes. While your retention policy is working as intended (since snapshots are expiring after 180 days), the portal might only display a subset of these snapshots due to the portal may have limits on how many snapshots are listed or visible at one time or by default, the portal might prioritize showing the most recent snapshots and filter older ones. The snapshots themselves are not deleted or lost; they are just not fully displayed in the portal UI.
Use PowerShell or the Azure CLI to confirm the presence of older snapshots beyond 30 days. This will give you a complete list of retained snapshots.
Azure CLI command:
az storage file list --account-name <storage-account-name> --share-name <share-name> --snapshot
PowerShell command:
Get-AzStorageFile -ShareName <share-name> -Context $context -IncludeDeleted -IncludeSnapshot
Confirm that your 180-day daily, monthly, and yearly retention is set and working as intended by using the above methods.
Even if older snapshots don’t appear in the portal, you can still restore files or data from those snapshots using the Azure CLI or PowerShell.
Please let me know if you face any challenge here, I can help you to resolve this issue further
Provide your valuable Comments.
Please do not forget to "Accept the answer” and “upvote it” wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.