{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5959","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5959/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5959/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5959/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/5959","id":306447385,"node_id":"MDU6SXNzdWUzMDY0NDczODU=","number":5959,"title":"Set vault context","user":{"login":"digitus0","id":16669438,"node_id":"MDQ6VXNlcjE2NjY5NDM4","avatar_url":"https://avatars2.githubusercontent.com/u/16669438?v=4","gravatar_id":"","url":"https://api.github.com/users/digitus0","html_url":"https://github.com/digitus0","followers_url":"https://api.github.com/users/digitus0/followers","following_url":"https://api.github.com/users/digitus0/following{/other_user}","gists_url":"https://api.github.com/users/digitus0/gists{/gist_id}","starred_url":"https://api.github.com/users/digitus0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitus0/subscriptions","organizations_url":"https://api.github.com/users/digitus0/orgs","repos_url":"https://api.github.com/users/digitus0/repos","events_url":"https://api.github.com/users/digitus0/events{/privacy}","received_events_url":"https://api.github.com/users/digitus0/received_events","type":"User","site_admin":false},"labels":[{"id":646544533,"node_id":"MDU6TGFiZWw2NDY1NDQ1MzM=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/backup/svc","name":"backup/svc","color":"009000","default":false},{"id":836705601,"node_id":"MDU6TGFiZWw4MzY3MDU2MDE=","url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/needs-more-info","name":"needs-more-info","color":"edb061","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}],"state":"closed","locked":false,"assignee":{"login":"digitus0","id":16669438,"node_id":"MDQ6VXNlcjE2NjY5NDM4","avatar_url":"https://avatars2.githubusercontent.com/u/16669438?v=4","gravatar_id":"","url":"https://api.github.com/users/digitus0","html_url":"https://github.com/digitus0","followers_url":"https://api.github.com/users/digitus0/followers","following_url":"https://api.github.com/users/digitus0/following{/other_user}","gists_url":"https://api.github.com/users/digitus0/gists{/gist_id}","starred_url":"https://api.github.com/users/digitus0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitus0/subscriptions","organizations_url":"https://api.github.com/users/digitus0/orgs","repos_url":"https://api.github.com/users/digitus0/repos","events_url":"https://api.github.com/users/digitus0/events{/privacy}","received_events_url":"https://api.github.com/users/digitus0/received_events","type":"User","site_admin":false},"assignees":[{"login":"digitus0","id":16669438,"node_id":"MDQ6VXNlcjE2NjY5NDM4","avatar_url":"https://avatars2.githubusercontent.com/u/16669438?v=4","gravatar_id":"","url":"https://api.github.com/users/digitus0","html_url":"https://github.com/digitus0","followers_url":"https://api.github.com/users/digitus0/followers","following_url":"https://api.github.com/users/digitus0/following{/other_user}","gists_url":"https://api.github.com/users/digitus0/gists{/gist_id}","starred_url":"https://api.github.com/users/digitus0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitus0/subscriptions","organizations_url":"https://api.github.com/users/digitus0/orgs","repos_url":"https://api.github.com/users/digitus0/repos","events_url":"https://api.github.com/users/digitus0/events{/privacy}","received_events_url":"https://api.github.com/users/digitus0/received_events","type":"User","site_admin":false},{"login":"Adam-Smith-MSFT","id":34456968,"node_id":"MDQ6VXNlcjM0NDU2OTY4","avatar_url":"https://avatars3.githubusercontent.com/u/34456968?v=4","gravatar_id":"","url":"https://api.github.com/users/Adam-Smith-MSFT","html_url":"https://github.com/Adam-Smith-MSFT","followers_url":"https://api.github.com/users/Adam-Smith-MSFT/followers","following_url":"https://api.github.com/users/Adam-Smith-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/Adam-Smith-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/Adam-Smith-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adam-Smith-MSFT/subscriptions","organizations_url":"https://api.github.com/users/Adam-Smith-MSFT/orgs","repos_url":"https://api.github.com/users/Adam-Smith-MSFT/repos","events_url":"https://api.github.com/users/Adam-Smith-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/Adam-Smith-MSFT/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-03-19T12:44:32Z","updated_at":"2018-09-10T22:43:39Z","closed_at":"2018-04-05T16:26:39Z","author_association":"NONE","body":"Hi\nI've tried to set the vault context using  Get-AzureRmRecoveryServicesVault -Name \"RecoveryVault\" |Set-AzureRmRecoveryServicesVaultContext, and albeit the command looks OK, any subsequent commands to list the Backup Policy all fails stating that I need to set a default context first...\n\nJan\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: e50dfe50-c177-f976-753b-9fa689d20f92\n* Version Independent ID: 7f787259-8ce5-9ba6-8df7-58ab0b89dd5c\n* Content: [Deploy and manage backups for Resource Manager-deployed VMs using PowerShell](https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-automation#feedback)\n* Content Source: [articles/backup/backup-azure-vms-automation.md](https://github.com/Microsoft/azure-docs/blob/master/articles/backup/backup-azure-vms-automation.md)\n* Service: **backup**\n* GitHub Login: @markgalioto\n* Microsoft Alias: **markgal;trinadhk;pullabhk**"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/420085689","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/5959#issuecomment-420085689","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5959","id":420085689,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDA4NTY4OQ==","user":{"login":"achal1012","id":4771917,"node_id":"MDQ6VXNlcjQ3NzE5MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4771917?v=4","gravatar_id":"","url":"https://api.github.com/users/achal1012","html_url":"https://github.com/achal1012","followers_url":"https://api.github.com/users/achal1012/followers","following_url":"https://api.github.com/users/achal1012/following{/other_user}","gists_url":"https://api.github.com/users/achal1012/gists{/gist_id}","starred_url":"https://api.github.com/users/achal1012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achal1012/subscriptions","organizations_url":"https://api.github.com/users/achal1012/orgs","repos_url":"https://api.github.com/users/achal1012/repos","events_url":"https://api.github.com/users/achal1012/events{/privacy}","received_events_url":"https://api.github.com/users/achal1012/received_events","type":"User","site_admin":false},"created_at":"2018-09-10T22:43:39Z","updated_at":"2018-09-10T22:43:39Z","author_association":"NONE","body":"@markgalioto I was able to resolve this by getting the latest version of SDK on a test machine, but it is going to be a problem upgrading it in PROD VM as it uses some legacy Azure commands. "}}
{"actor":{"display_login":"achal1012"}}