Hi — yes absolutely you can easily create SAS from a managed disk using “az disk grant-access”. This article touches on situation where you don’t have a generalized managed OS disk but only a managed image and you need to create SAS URL that’s compliant with Azure Marketplace (current) format. Without using this approach, you can still do the following: use existing managed image to spin up a new VM, re-generalize the VM, export the managed disk using “az disk grant-access” and copy that image into your own storage to generate the SAS. The article shows another approach that avoids spinning up a new VM by converting the managed image into a Shared Image Gallery image :) Does this help clarify the scenario?

Written by

Principal Engineer / Architect, FastTrack for Azure at Microsoft

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store