{"action":"created","issue":{"url":"https://api.github.com/repos/microsoftgraph/angular-connect-rest-sample/issues/15","repository_url":"https://api.github.com/repos/microsoftgraph/angular-connect-rest-sample","labels_url":"https://api.github.com/repos/microsoftgraph/angular-connect-rest-sample/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/microsoftgraph/angular-connect-rest-sample/issues/15/comments","events_url":"https://api.github.com/repos/microsoftgraph/angular-connect-rest-sample/issues/15/events","html_url":"https://github.com/microsoftgraph/angular-connect-rest-sample/issues/15","id":222301084,"number":15,"title":"Issue with Permissions","user":{"login":"joviledog","id":22654143,"avatar_url":"https://avatars2.githubusercontent.com/u/22654143?v=4","gravatar_id":"","url":"https://api.github.com/users/joviledog","html_url":"https://github.com/joviledog","followers_url":"https://api.github.com/users/joviledog/followers","following_url":"https://api.github.com/users/joviledog/following{/other_user}","gists_url":"https://api.github.com/users/joviledog/gists{/gist_id}","starred_url":"https://api.github.com/users/joviledog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joviledog/subscriptions","organizations_url":"https://api.github.com/users/joviledog/orgs","repos_url":"https://api.github.com/users/joviledog/repos","events_url":"https://api.github.com/users/joviledog/events{/privacy}","received_events_url":"https://api.github.com/users/joviledog/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-04-18T04:53:34Z","updated_at":"2017-09-06T05:40:20Z","closed_at":"2017-07-06T17:36:30Z","author_association":"NONE","body":"The application works but there is a catch.  Please update the documentation based on what I found.\r\n\r\nThe problem is described in this article:  http://stackoverflow.com/questions/42013466/microsoftgraph-oauth2-scope\r\nThe SendMail app requires Mail.SendMail but the default setup for a Graph application uses User.Read only.\r\n\r\nIt was a pretty lame authorization approach in this over-simplified application as it would prompt for the initial permission on the first sign-in of the application so even if I changed the permission after the first sign-in, the new permission won't be used.  So the magic touch is that I recreated with a new application Id and then set up the new permission properly before the first sign-in.\r\n\r\nThe other way is to update the application to prompt for the permission granting process each time.\r\n\r\nThe documentation should provide that hint or the Quick Start process be changed based on the nature of the sample application actions."},"comment":{"url":"https://api.github.com/repos/microsoftgraph/angular-connect-rest-sample/issues/comments/327380387","html_url":"https://github.com/microsoftgraph/angular-connect-rest-sample/issues/15#issuecomment-327380387","issue_url":"https://api.github.com/repos/microsoftgraph/angular-connect-rest-sample/issues/15","id":327380387,"user":{"login":"joviledog","id":22654143,"avatar_url":"https://avatars2.githubusercontent.com/u/22654143?v=4","gravatar_id":"","url":"https://api.github.com/users/joviledog","html_url":"https://github.com/joviledog","followers_url":"https://api.github.com/users/joviledog/followers","following_url":"https://api.github.com/users/joviledog/following{/other_user}","gists_url":"https://api.github.com/users/joviledog/gists{/gist_id}","starred_url":"https://api.github.com/users/joviledog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joviledog/subscriptions","organizations_url":"https://api.github.com/users/joviledog/orgs","repos_url":"https://api.github.com/users/joviledog/repos","events_url":"https://api.github.com/users/joviledog/events{/privacy}","received_events_url":"https://api.github.com/users/joviledog/received_events","type":"User","site_admin":false},"created_at":"2017-09-06T05:40:19Z","updated_at":"2017-09-06T05:40:19Z","author_association":"NONE","body":"Thank you.  I know how to get permissions working now.\n\nOn Thu, Jul 6, 2017 at 10:36 AM, Jim Crowley <notifications@github.com>\nwrote:\n\n> Closing this issue.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/microsoftgraph/angular-connect-rest-sample/issues/15#issuecomment-313466451>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AVmsv4CYhuR2ojI0dpEDdq6h9qOfGHJSks5sLRsggaJpZM4M_3nw>\n> .\n>\n\n\n\n-- \nvia GMAIL\n"}}
{"actor":{"display_login":"joviledog"}}