{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/7772","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/7772/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/7772/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/7772/events","html_url":"https://github.com/Azure/azure-cli/issues/7772","id":378103866,"node_id":"MDU6SXNzdWUzNzgxMDM4NjY=","number":7772,"title":"az ad app update command does not work for az cli version 2.0.49/2.0.50","user":{"login":"sajithvasu","id":18351717,"node_id":"MDQ6VXNlcjE4MzUxNzE3","avatar_url":"https://avatars3.githubusercontent.com/u/18351717?v=4","gravatar_id":"","url":"https://api.github.com/users/sajithvasu","html_url":"https://github.com/sajithvasu","followers_url":"https://api.github.com/users/sajithvasu/followers","following_url":"https://api.github.com/users/sajithvasu/following{/other_user}","gists_url":"https://api.github.com/users/sajithvasu/gists{/gist_id}","starred_url":"https://api.github.com/users/sajithvasu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajithvasu/subscriptions","organizations_url":"https://api.github.com/users/sajithvasu/orgs","repos_url":"https://api.github.com/users/sajithvasu/repos","events_url":"https://api.github.com/users/sajithvasu/events{/privacy}","received_events_url":"https://api.github.com/users/sajithvasu/received_events","type":"User","site_admin":false},"labels":[{"id":966206283,"node_id":"MDU6TGFiZWw5NjYyMDYyODM=","url":"https://api.github.com/repos/Azure/azure-cli/labels/Authorization-cli","name":"Authorization-cli","color":"d4c5f9","default":false},{"id":593424290,"node_id":"MDU6TGFiZWw1OTM0MjQyOTA=","url":"https://api.github.com/repos/Azure/azure-cli/labels/Question","name":"Question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-07T01:28:37Z","updated_at":"2018-11-08T22:45:15Z","closed_at":"2018-11-08T22:45:15Z","author_association":"NONE","body":"az cli version 2.0.42 supports az ad app update command.. Post upgrade to any version of az cli does not support az ad app update. \n\n$ az ad app update --id $appId--reply-urls https://$hostname/.auth/login/aad/callback\nUpdate to existing credential with KeyId '$keyid' is not allowed.\n\naz ad app update --id $appId --set groupMembershipClaims=All\nProperty 'groupMembershipClaims' not found on root. Send it as an additional property .\nUpdate to existing credential with KeyId '$keyid' is not allowed.\n\n az ad app update --id $appId --required-resource-accesses @manifest.json\nUpdate to existing credential with KeyId '$keyid' is not allowed.\n\nThis scenario can be reproduced. It does not work on any az cli version after 2.0.42\nTo reproduce this scenario, create keys manually under Azure App Registration &gt; settings &gt; API &gt; keys and then run the app update command as shown above.\n\nThis is a major bug to use az cli for any update.\n\n\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: 921aa920-c25f-5227-aabb-49116da38fa7\n* Version Independent ID: 9b5a53ad-edf8-4d89-f8e6-cde01b7866f6\n* Content: [az ad app](https://docs.microsoft.com/en-us/cli/azure/ad/app?view=azure-cli-latest#az-ad-app-update)\n* Content Source: [src/command_modules/azure-cli-role/azure/cli/command_modules/role/_help.py](https://github.com/Azure/azure-cli/blob/master/src/command_modules/azure-cli-role/azure/cli/command_modules/role/_help.py)\n* Service: **active-directory**\n* GitHub Login: @rloutlaw\n* Microsoft Alias: **routlaw**"},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/comments/437183768","html_url":"https://github.com/Azure/azure-cli/issues/7772#issuecomment-437183768","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/7772","id":437183768,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzE4Mzc2OA==","user":{"login":"yugangw-msft","id":6014209,"node_id":"MDQ6VXNlcjYwMTQyMDk=","avatar_url":"https://avatars1.githubusercontent.com/u/6014209?v=4","gravatar_id":"","url":"https://api.github.com/users/yugangw-msft","html_url":"https://github.com/yugangw-msft","followers_url":"https://api.github.com/users/yugangw-msft/followers","following_url":"https://api.github.com/users/yugangw-msft/following{/other_user}","gists_url":"https://api.github.com/users/yugangw-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/yugangw-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yugangw-msft/subscriptions","organizations_url":"https://api.github.com/users/yugangw-msft/orgs","repos_url":"https://api.github.com/users/yugangw-msft/repos","events_url":"https://api.github.com/users/yugangw-msft/events{/privacy}","received_events_url":"https://api.github.com/users/yugangw-msft/received_events","type":"User","site_admin":false},"created_at":"2018-11-08T22:45:15Z","updated_at":"2018-11-08T22:45:15Z","author_association":"CONTRIBUTOR","body":"dupe #7728 "}}
{"actor":{"display_login":"yugangw-msft"}}