{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5104","repository_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5104/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5104/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5104/events","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/5104","id":301112103,"number":5104,"title":"Code sample grants incorrect role","user":{"login":"brantb","id":150953,"avatar_url":"https://avatars2.githubusercontent.com/u/150953?v=4","gravatar_id":"","url":"https://api.github.com/users/brantb","html_url":"https://github.com/brantb","followers_url":"https://api.github.com/users/brantb/followers","following_url":"https://api.github.com/users/brantb/following{/other_user}","gists_url":"https://api.github.com/users/brantb/gists{/gist_id}","starred_url":"https://api.github.com/users/brantb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brantb/subscriptions","organizations_url":"https://api.github.com/users/brantb/orgs","repos_url":"https://api.github.com/users/brantb/repos","events_url":"https://api.github.com/users/brantb/events{/privacy}","received_events_url":"https://api.github.com/users/brantb/received_events","type":"User","site_admin":false},"labels":[{"id":836704904,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/bug","name":"bug","color":"84edbc","default":true},{"id":646545292,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/container-service","name":"container-service","color":"009000","default":false},{"id":836703193,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/cxp","name":"cxp","color":"bf1394","default":false},{"id":836703308,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/in-process","name":"in-process","color":"c1d9ff","default":false},{"id":836702742,"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/labels/triaged","name":"triaged","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"amanarneja","id":7491483,"avatar_url":"https://avatars1.githubusercontent.com/u/7491483?v=4","gravatar_id":"","url":"https://api.github.com/users/amanarneja","html_url":"https://github.com/amanarneja","followers_url":"https://api.github.com/users/amanarneja/followers","following_url":"https://api.github.com/users/amanarneja/following{/other_user}","gists_url":"https://api.github.com/users/amanarneja/gists{/gist_id}","starred_url":"https://api.github.com/users/amanarneja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amanarneja/subscriptions","organizations_url":"https://api.github.com/users/amanarneja/orgs","repos_url":"https://api.github.com/users/amanarneja/repos","events_url":"https://api.github.com/users/amanarneja/events{/privacy}","received_events_url":"https://api.github.com/users/amanarneja/received_events","type":"User","site_admin":false},"assignees":[{"login":"amanarneja","id":7491483,"avatar_url":"https://avatars1.githubusercontent.com/u/7491483?v=4","gravatar_id":"","url":"https://api.github.com/users/amanarneja","html_url":"https://github.com/amanarneja","followers_url":"https://api.github.com/users/amanarneja/followers","following_url":"https://api.github.com/users/amanarneja/following{/other_user}","gists_url":"https://api.github.com/users/amanarneja/gists{/gist_id}","starred_url":"https://api.github.com/users/amanarneja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amanarneja/subscriptions","organizations_url":"https://api.github.com/users/amanarneja/orgs","repos_url":"https://api.github.com/users/amanarneja/repos","events_url":"https://api.github.com/users/amanarneja/events{/privacy}","received_events_url":"https://api.github.com/users/amanarneja/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-28T17:26:01Z","updated_at":"2018-02-28T19:34:59Z","closed_at":null,"author_association":"NONE","body":"Under \"Grant AKS access to ACR\", the following text appears (emphasis mine):\n\n> To do so, a role assignment needs to be created to *grant the service principal read access* to the ACR resource. \n\nBut the code snippet following includes:\n\n    az role assignment create --assignee $CLIENT_ID --role Contributor --scope $ACR_ID\n\n`--role Contributor` should be `--role Reader`.\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: ed59d472-ac33-5c03-dbb7-0e86e88c7dd8\n* Version Independent ID: 69e1ad8c-2dd3-cc1b-2b31-996a5d866cc0\n* [Content](https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-aks#access-with-kubernetes-secret)\n* [Content Source](https://github.com/Microsoft/azure-docs/blob/master/articles/container-registry/container-registry-auth-aks.md)\n* Service: container-service"},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/comments/369356547","html_url":"https://github.com/MicrosoftDocs/azure-docs/issues/5104#issuecomment-369356547","issue_url":"https://api.github.com/repos/MicrosoftDocs/azure-docs/issues/5104","id":369356547,"user":{"login":"amanarneja","id":7491483,"avatar_url":"https://avatars1.githubusercontent.com/u/7491483?v=4","gravatar_id":"","url":"https://api.github.com/users/amanarneja","html_url":"https://github.com/amanarneja","followers_url":"https://api.github.com/users/amanarneja/followers","following_url":"https://api.github.com/users/amanarneja/following{/other_user}","gists_url":"https://api.github.com/users/amanarneja/gists{/gist_id}","starred_url":"https://api.github.com/users/amanarneja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amanarneja/subscriptions","organizations_url":"https://api.github.com/users/amanarneja/orgs","repos_url":"https://api.github.com/users/amanarneja/repos","events_url":"https://api.github.com/users/amanarneja/events{/privacy}","received_events_url":"https://api.github.com/users/amanarneja/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T19:34:59Z","updated_at":"2018-02-28T19:34:59Z","author_association":"CONTRIBUTOR","body":"@brantb - Thanks for the feedback. We are investigating and will get back to you on this ASAP."}}
{"actor":{"display_login":"amanarneja"}}