The issue is resolved finally. All I had to do was to register 'Microsoft.storage' in the resource providers menu in the Azure subscription. Select the item and click on 'register' on the top of the page.
There are no references to this issue anywhere on the internet at this moment. I hope this helps someone who will face this issue in the future.