How can I create an Azure Storage Account programmatically using c# or vb but without using the nuget package Microsft.Azure.Management.Storage as it is deprecated.
All the code I am finding is using this deprecated package.
How can I create an Azure Storage Account programmatically using c# or vb but without using the nuget package Microsft.Azure.Management.Storage as it is deprecated.
All the code I am finding is using this deprecated package.
2
Answers
I use the Azure.Storage.Blobs package
Updated documentation can be found at the link below
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/storage.blobs-readme?view=azure-dotnet
As mentioned in the comments, the Nuget package you would want to use is
Azure.ResourceManager.Storage
.Here’s the sample code for creating a storage account taken from
here
.