Welcome to Microsoft Q&A Platform, thanks for posting your query here.
I see you have posted a similar issue here. I have answered this query there.
The installation of Azure Stack development kit is not supported on an Azure VM.
Ref: https://learn.microsoft.com/en-us/azure-stack/asdk/asdk-deploy-considerations?view=azs-2108
Hope that helps.
Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.