{"action":"created","issue":{"url":"https://api.github.com/repos/Azure-Samples/active-directory-java-graphapi-web/issues/4","repository_url":"https://api.github.com/repos/Azure-Samples/active-directory-java-graphapi-web","labels_url":"https://api.github.com/repos/Azure-Samples/active-directory-java-graphapi-web/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Azure-Samples/active-directory-java-graphapi-web/issues/4/comments","events_url":"https://api.github.com/repos/Azure-Samples/active-directory-java-graphapi-web/issues/4/events","html_url":"https://github.com/Azure-Samples/active-directory-java-graphapi-web/issues/4","id":198928114,"number":4,"title":"Getting Message \"Insufficient privileges to complete the operation\" for all operations on users","user":{"login":"adarsh2570","id":10286703,"avatar_url":"https://avatars3.githubusercontent.com/u/10286703?v=4","gravatar_id":"","url":"https://api.github.com/users/adarsh2570","html_url":"https://github.com/adarsh2570","followers_url":"https://api.github.com/users/adarsh2570/followers","following_url":"https://api.github.com/users/adarsh2570/following{/other_user}","gists_url":"https://api.github.com/users/adarsh2570/gists{/gist_id}","starred_url":"https://api.github.com/users/adarsh2570/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adarsh2570/subscriptions","organizations_url":"https://api.github.com/users/adarsh2570/orgs","repos_url":"https://api.github.com/users/adarsh2570/repos","events_url":"https://api.github.com/users/adarsh2570/events{/privacy}","received_events_url":"https://api.github.com/users/adarsh2570/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-05T10:54:47Z","updated_at":"2017-11-18T20:02:01Z","closed_at":null,"author_association":"NONE","body":"I have setup the entire code as detailed in the guide. However when I hit the \"All Users\" api I get the following error message : Error:Authorization_RequestDenied! Insufficient privileges to complete the operation. {\"odata.error\":{\"code\":\"Authorization_RequestDenied\",\"message\":{\"lang\":\"en\",\"value\":\"Insufficient privileges to complete the operation.\"}}}  \r\n\r\nThis is the log I get in tomcat: org.sampleapp.exceptions.SampleAppException: Insufficient privileges to complete the operation.\r\n\r\nI have given all permissions through API access to my application in Azure portal under \"Required permissions\". Any idea why I might be getting this error?"},"comment":{"url":"https://api.github.com/repos/Azure-Samples/active-directory-java-graphapi-web/issues/comments/345467354","html_url":"https://github.com/Azure-Samples/active-directory-java-graphapi-web/issues/4#issuecomment-345467354","issue_url":"https://api.github.com/repos/Azure-Samples/active-directory-java-graphapi-web/issues/4","id":345467354,"user":{"login":"anotherrohit","id":390220,"avatar_url":"https://avatars1.githubusercontent.com/u/390220?v=4","gravatar_id":"","url":"https://api.github.com/users/anotherrohit","html_url":"https://github.com/anotherrohit","followers_url":"https://api.github.com/users/anotherrohit/followers","following_url":"https://api.github.com/users/anotherrohit/following{/other_user}","gists_url":"https://api.github.com/users/anotherrohit/gists{/gist_id}","starred_url":"https://api.github.com/users/anotherrohit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anotherrohit/subscriptions","organizations_url":"https://api.github.com/users/anotherrohit/orgs","repos_url":"https://api.github.com/users/anotherrohit/repos","events_url":"https://api.github.com/users/anotherrohit/events{/privacy}","received_events_url":"https://api.github.com/users/anotherrohit/received_events","type":"User","site_admin":false},"created_at":"2017-11-18T20:02:01Z","updated_at":"2017-11-18T20:02:01Z","author_association":"NONE","body":"@vdentice Read Directory data already added under Delegated Permissions, have also tried selecting all Application permissions but still see the same error.\r\n@gkhenderson api version selected as 1.5 as well. But no luck.\r\nAny other ideas?"}}
{"actor":{"display_login":"anotherrohit"}}