{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/12751","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/12751/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/12751/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/12751/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/12751","id":346908579,"node_id":"MDU6SXNzdWUzNDY5MDg1Nzk=","number":12751,"title":"Migrate Virtual Machine Scale Set OS disk","user":{"login":"Aleksanderis","id":2393205,"node_id":"MDQ6VXNlcjIzOTMyMDU=","avatar_url":"https://avatars0.githubusercontent.com/u/2393205?v=4","gravatar_id":"","url":"https://api.github.com/users/Aleksanderis","html_url":"https://github.com/Aleksanderis","followers_url":"https://api.github.com/users/Aleksanderis/followers","following_url":"https://api.github.com/users/Aleksanderis/following{/other_user}","gists_url":"https://api.github.com/users/Aleksanderis/gists{/gist_id}","starred_url":"https://api.github.com/users/Aleksanderis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aleksanderis/subscriptions","organizations_url":"https://api.github.com/users/Aleksanderis/orgs","repos_url":"https://api.github.com/users/Aleksanderis/repos","events_url":"https://api.github.com/users/Aleksanderis/events{/privacy}","received_events_url":"https://api.github.com/users/Aleksanderis/received_events","type":"User","site_admin":false},"labels":[{"id":836703193,"node_id":"MDU6TGFiZWw4MzY3MDMxOTM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cxp","name":"cxp","color":"bf1394","default":false},{"id":836703308,"node_id":"MDU6TGFiZWw4MzY3MDMzMDg=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/in-progress","name":"in-progress","color":"c1d9ff","default":false},{"id":853283851,"node_id":"MDU6TGFiZWw4NTMyODM4NTE=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/product-question","name":"product-question","color":"43e08a","default":false},{"id":836702742,"node_id":"MDU6TGFiZWw4MzY3MDI3NDI=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false},{"id":646549629,"node_id":"MDU6TGFiZWw2NDY1NDk2Mjk=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/virtual-machines-windows/svc","name":"virtual-machines-windows/svc","color":"009000","default":false}],"state":"open","locked":false,"assignee":{"login":"MohitGargMSFT","id":32749549,"node_id":"MDQ6VXNlcjMyNzQ5NTQ5","avatar_url":"https://avatars3.githubusercontent.com/u/32749549?v=4","gravatar_id":"","url":"https://api.github.com/users/MohitGargMSFT","html_url":"https://github.com/MohitGargMSFT","followers_url":"https://api.github.com/users/MohitGargMSFT/followers","following_url":"https://api.github.com/users/MohitGargMSFT/following{/other_user}","gists_url":"https://api.github.com/users/MohitGargMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/MohitGargMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohitGargMSFT/subscriptions","organizations_url":"https://api.github.com/users/MohitGargMSFT/orgs","repos_url":"https://api.github.com/users/MohitGargMSFT/repos","events_url":"https://api.github.com/users/MohitGargMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/MohitGargMSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"MohitGargMSFT","id":32749549,"node_id":"MDQ6VXNlcjMyNzQ5NTQ5","avatar_url":"https://avatars3.githubusercontent.com/u/32749549?v=4","gravatar_id":"","url":"https://api.github.com/users/MohitGargMSFT","html_url":"https://github.com/MohitGargMSFT","followers_url":"https://api.github.com/users/MohitGargMSFT/followers","following_url":"https://api.github.com/users/MohitGargMSFT/following{/other_user}","gists_url":"https://api.github.com/users/MohitGargMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/MohitGargMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohitGargMSFT/subscriptions","organizations_url":"https://api.github.com/users/MohitGargMSFT/orgs","repos_url":"https://api.github.com/users/MohitGargMSFT/repos","events_url":"https://api.github.com/users/MohitGargMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/MohitGargMSFT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-08-02T08:22:33Z","updated_at":"2018-08-03T22:31:21Z","closed_at":null,"author_association":"NONE","body":"Is it possible to migrate unmanaged OS disk to managed for existing VM Scale Sets?\r\n\r\nI see by default new Service Fabric clusters are created with VM Scale Sets which are using managed disks. There is also a warning for existing clusters \"This scale set uses unmanaged disks. We recommend that all new scale sets be deployed with managed disks\". However it doesn't say how to do it for existing VM Set.\r\n\r\nFor standalone virtual machines there are guidelines how to migrate to managed disks, but nothing about VM scale sets. Just changing it in ARM template and doing incremental update - doesn't work and throws error:\r\n```\r\n \"error\": {\r\n    \"code\": \"PropertyChangeNotAllowed\",\r\n    \"target\": \"osDisk.managedDisk\",\r\n    \"message\": \"Changing property 'osDisk.managedDisk' is not allowed.\"\r\n }\r\n```\r\n---\r\n#### Document Details\r\n\r\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\r\n\r\n* ID: 836301e3-28ef-e12f-f0fc-78e0a3448eed\r\n* Version Independent ID: ba2336dd-6937-26d1-b31d-c1be43ed71c3\r\n* Content: [Migrate Azure VMs to Managed Disks](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/migrate-to-managed-disks)\r\n* Content Source: [articles/virtual-machines/windows/migrate-to-managed-disks.md](https://github.com/Microsoft/azure-docs/blob/master/articles/virtual-machines/windows/migrate-to-managed-disks.md)\r\n* Service: **virtual-machines-windows**\r\n* GitHub Login: @cynthn\r\n* Microsoft Alias: **cynthn**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/410392618","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/12751#issuecomment-410392618","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/12751","id":410392618,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDM5MjYxOA==","user":{"login":"MohitGargMSFT","id":32749549,"node_id":"MDQ6VXNlcjMyNzQ5NTQ5","avatar_url":"https://avatars3.githubusercontent.com/u/32749549?v=4","gravatar_id":"","url":"https://api.github.com/users/MohitGargMSFT","html_url":"https://github.com/MohitGargMSFT","followers_url":"https://api.github.com/users/MohitGargMSFT/followers","following_url":"https://api.github.com/users/MohitGargMSFT/following{/other_user}","gists_url":"https://api.github.com/users/MohitGargMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/MohitGargMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MohitGargMSFT/subscriptions","organizations_url":"https://api.github.com/users/MohitGargMSFT/orgs","repos_url":"https://api.github.com/users/MohitGargMSFT/repos","events_url":"https://api.github.com/users/MohitGargMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/MohitGargMSFT/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T22:31:21Z","updated_at":"2018-08-03T22:31:21Z","author_association":"MEMBER","body":"@Aleksanderis Please check if this document helps with your requirement - [Convert a scale set template to a managed disk scale set template](https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-convert-template-to-md)"}}
{"actor":{"display_login":"MohitGargMSFT"}}