In the script you will demonstrate code to get access to storage account with using retry attempt.
- Update ".env" file with connection string to your storage account
- Open in VS code folder
Nodejs
- Demonstrate code and explain the recursion.
- Use following commands to update firewall settings in Azure Storage Account.
az storage account update --name "<your account name>" --default-action Deny
-
Run the code and demonstrate it CANNOT access to storage account.
-
Run following command to enable access and run the code again
az storage account update --name "<your account name>" --default-action Allow
- Now the you should get access from first attempt.