{"action":"closed","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/19827","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/19827/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/19827/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/19827/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/19827","id":386566847,"node_id":"MDU6SXNzdWUzODY1NjY4NDc=","number":19827,"title":"How does the Custom Script Extension know if my script failed, and does it gather any error information?","user":{"login":"yotauber","id":43029613,"node_id":"MDQ6VXNlcjQzMDI5NjEz","avatar_url":"https://avatars0.githubusercontent.com/u/43029613?v=4","gravatar_id":"","url":"https://api.github.com/users/yotauber","html_url":"https://github.com/yotauber","followers_url":"https://api.github.com/users/yotauber/followers","following_url":"https://api.github.com/users/yotauber/following{/other_user}","gists_url":"https://api.github.com/users/yotauber/gists{/gist_id}","starred_url":"https://api.github.com/users/yotauber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yotauber/subscriptions","organizations_url":"https://api.github.com/users/yotauber/orgs","repos_url":"https://api.github.com/users/yotauber/repos","events_url":"https://api.github.com/users/yotauber/events{/privacy}","received_events_url":"https://api.github.com/users/yotauber/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":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":"closed","locked":false,"assignee":{"login":"jakaruna-MSFT","id":43405697,"node_id":"MDQ6VXNlcjQzNDA1Njk3","avatar_url":"https://avatars2.githubusercontent.com/u/43405697?v=4","gravatar_id":"","url":"https://api.github.com/users/jakaruna-MSFT","html_url":"https://github.com/jakaruna-MSFT","followers_url":"https://api.github.com/users/jakaruna-MSFT/followers","following_url":"https://api.github.com/users/jakaruna-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/jakaruna-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/jakaruna-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakaruna-MSFT/subscriptions","organizations_url":"https://api.github.com/users/jakaruna-MSFT/orgs","repos_url":"https://api.github.com/users/jakaruna-MSFT/repos","events_url":"https://api.github.com/users/jakaruna-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/jakaruna-MSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"jakaruna-MSFT","id":43405697,"node_id":"MDQ6VXNlcjQzNDA1Njk3","avatar_url":"https://avatars2.githubusercontent.com/u/43405697?v=4","gravatar_id":"","url":"https://api.github.com/users/jakaruna-MSFT","html_url":"https://github.com/jakaruna-MSFT","followers_url":"https://api.github.com/users/jakaruna-MSFT/followers","following_url":"https://api.github.com/users/jakaruna-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/jakaruna-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/jakaruna-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakaruna-MSFT/subscriptions","organizations_url":"https://api.github.com/users/jakaruna-MSFT/orgs","repos_url":"https://api.github.com/users/jakaruna-MSFT/repos","events_url":"https://api.github.com/users/jakaruna-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/jakaruna-MSFT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-12-02T14:53:03Z","updated_at":"2018-12-18T04:50:44Z","closed_at":"2018-12-18T04:50:43Z","author_association":"NONE","body":"Script failures are mentioned in this documentation.\nHow does the Custom Script Extension infrastructure know whether my script succeeded or not? Is it based on exit codes?\nWhen it fails (and possibly when it succeeds), is the failure reason propagated anywhere? If so, from where? Does it look at the stdout/stderr of my script?\n\nThanks!\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: 40aaccb8-19ba-168f-f5bf-65f1f5331541\n* Version Independent ID: 6cdfd166-633a-50a3-2b45-cde0e991e540\n* Content: [Azure Custom Script Extension for Windows](https://docs.microsoft.com/en-us/azure/virtual-machines/extensions/custom-script-windows)\n* Content Source: [articles/virtual-machines/extensions/custom-script-windows.md](https://github.com/Microsoft/azure-docs/blob/master/articles/virtual-machines/extensions/custom-script-windows.md)\n* Service: **virtual-machines-windows**\n* GitHub Login: @roiyz-msft\n* Microsoft Alias: **roiyz**"}}
{"actor":{"display_login":"jakaruna-MSFT"}}