{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/2453","repository_url":"https://api.github.com/repos/Azure/azure-powershell","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/2453/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/2453/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/2453/events","html_url":"https://github.com/Azure/azure-powershell/issues/2453","id":160313359,"number":2453,"title":"Get-AzureRmRoleAssignment: Access denied to the specified API version","user":{"login":"bvirkler","id":347725,"avatar_url":"https://avatars.githubusercontent.com/u/347725?v=3","gravatar_id":"","url":"https://api.github.com/users/bvirkler","html_url":"https://github.com/bvirkler","followers_url":"https://api.github.com/users/bvirkler/followers","following_url":"https://api.github.com/users/bvirkler/following{/other_user}","gists_url":"https://api.github.com/users/bvirkler/gists{/gist_id}","starred_url":"https://api.github.com/users/bvirkler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvirkler/subscriptions","organizations_url":"https://api.github.com/users/bvirkler/orgs","repos_url":"https://api.github.com/users/bvirkler/repos","events_url":"https://api.github.com/users/bvirkler/events{/privacy}","received_events_url":"https://api.github.com/users/bvirkler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-15T00:17:09Z","updated_at":"2016-06-15T00:17:09Z","closed_at":null,"body":"I'm trying to run `Get-AzureRmRoleAssignment` in an Azure Automation script while authenticated using the built-in RunAs service principal.\r\n\r\nThis cmdlet makes three API calls, the last of which is to the AAD Graph API's `getObjectsByObjectIds`.  This call is failing with a Forbidden response with the message \"Access denied to the specified API version\".\r\n\r\nI first noticed this back in February, and just confirmed that the issue still exists with the latest AzureRM modules built into Azure Automation (version 1.0.3, last modified 6/6/2016).\r\n\r\nLots more details in my SO post: http://stackoverflow.com/questions/35592847"}}
{"actor":{"display_login":"bvirkler"}}