{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes-anywhere/issues/251","repository_url":"https://api.github.com/repos/kubernetes/kubernetes-anywhere","labels_url":"https://api.github.com/repos/kubernetes/kubernetes-anywhere/issues/251/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes-anywhere/issues/251/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes-anywhere/issues/251/events","html_url":"https://github.com/kubernetes/kubernetes-anywhere/issues/251","id":180216080,"number":251,"title":"Service Principal doesn't reference a valid application object","user":{"login":"ggm-at-apnic","id":7855688,"avatar_url":"https://avatars.githubusercontent.com/u/7855688?v=3","gravatar_id":"","url":"https://api.github.com/users/ggm-at-apnic","html_url":"https://github.com/ggm-at-apnic","followers_url":"https://api.github.com/users/ggm-at-apnic/followers","following_url":"https://api.github.com/users/ggm-at-apnic/following{/other_user}","gists_url":"https://api.github.com/users/ggm-at-apnic/gists{/gist_id}","starred_url":"https://api.github.com/users/ggm-at-apnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggm-at-apnic/subscriptions","organizations_url":"https://api.github.com/users/ggm-at-apnic/orgs","repos_url":"https://api.github.com/users/ggm-at-apnic/repos","events_url":"https://api.github.com/users/ggm-at-apnic/events{/privacy}","received_events_url":"https://api.github.com/users/ggm-at-apnic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-09-30T04:12:09Z","updated_at":"2016-09-30T07:16:01Z","closed_at":null,"body":"inside  the docker, after `make docker-dev` a run of `make deploy` dies shortly after the creation of the client ID instance.\r\n\r\nThe error state ls:\r\n```\r\n2016-09-30T03:58:24.611Z:\r\n{ Error: {\"odata.error\":{\"code\":\"Request_BadRequest\",\"message\":{\"lang\":\"en\",\"value\":\"The appId of the service principal does not reference a valid application object.\"},\"values\":[{\"item\":\"PropertyName\",\"value\":\"appId\"},{\"item\":\"PropertyErrorCode\",\"value\":\"NoBackingApplicationObject\"}]}}\r\n  <<< async stack >>>\r\n  at __1 (/usr/lib/node_modules/azure-cli/lib/commands/arm/ad/ad.servicePrincipals.js:174:41)\r\n  at __3 (/usr/lib/node_modules/azure-cli/lib/commands/arm/ad/ad.servicePrincipals.js:172:30)\r\n  <<< raw stack >>>\r\n    at /usr/lib/node_modules/azure-cli/node_modules/azure-graph/lib/operations/servicePrincipals.js:145:19\r\n    at retryCallback (/usr/lib/node_modules/azure-cli/node_modules/ms-rest/lib/filters/exponentialRetryPolicyFilter.js:140:9)\r\n    at handleRedirect (/usr/lib/node_modules/azure-cli/node_modules/ms-rest/lib/filters/redirectFilter.js:36:9)\r\n    at /usr/lib/node_modules/azure-cli/lib/util/utils.js:587:7\r\n    at handleRedirect (/usr/lib/node_modules/azure-cli/lib/util/utils.js:564:9)\r\n    at /usr/lib/node_modules/azure-cli/lib/util/logging.js:339:7\r\n    at Request._callback (/usr/lib/node_modules/azure-cli/node_modules/ms-rest/lib/requestPipeline.js:125:16)\r\n    at Request.self.callback (/usr/lib/node_modules/azure-cli/node_modules/request/request.js:187:22)\r\n    at emitTwo (events.js:106:13)\r\n    at Request.emit (events.js:191:7)\r\n  stack: [Getter/Setter],\r\n  statusCode: 400,\r\n  request: \r\n   { rawResponse: false,\r\n     queryString: {},\r\n     method: 'POST',\r\n     headers: \r\n      { 'x-ms-client-request-id': '50ab48e0-85d7-4000-83cb-aa9094b67cfe',\r\n        'accept-language': 'en-US',\r\n        'Content-Type': 'application/json; charset=utf-8',\r\n        'user-agent': 'WindowsAzureXplatCLI/0.10.5' },\r\n     url: 'https://graph.windows.net/8134123d-2209-41c1-87f1-c410786b408f/servicePrincipals?api-version=1.6',\r\n     body: '{\"appId\":\"36c3f8b4-f370-4782-a6ac-a459833329b3\",\"accountEnabled\":true}' },\r\n  response: \r\n   { body: '{\"odata.error\":{\"code\":\"Request_BadRequest\",\"message\":{\"lang\":\"en\",\"value\":\"The appId of the service principal does not reference a valid application object.\"},\"values\":[{\"item\":\"PropertyName\",\"value\":\"appId\"},{\"item\":\"PropertyErrorCode\",\"value\":\"NoBackingApplicationObject\"}]}}',\r\n     headers: \r\n      { 'cache-control': 'private',\r\n        'content-type': 'application/json;odata=minimalmetadata;charset=utf-8',\r\n        server: 'Microsoft-IIS/8.5',\r\n        'ocp-aad-diagnostics-server-name': 'HgGHeNSQrM9XpX3oc/01cDMvT65hkzBBO7e+bQY/4x4=',\r\n        'request-id': '2afba286-0eab-453c-9214-48ff0c73ecf4',\r\n        'client-request-id': '83d133c1-61d6-4bfc-9133-b98df79922c5',\r\n        'x-ms-dirapi-data-contract-version': '1.6',\r\n        'ocp-aad-session-key': '<removed>',\r\n        'strict-transport-security': 'max-age=31536000; includeSubDomains',\r\n        'access-control-allow-origin': '*',\r\n        'x-aspnet-version': '4.0.30319',\r\n        'x-powered-by': 'ASP.NET, ASP.NET',\r\n        duration: '2357676',\r\n        date: 'Fri, 30 Sep 2016 03:58:25 GMT',\r\n        connection: 'close',\r\n        'content-length': '278' },\r\n     statusCode: 400 },\r\n  body: \r\n   { code: 'Request_BadRequest',\r\n     message: 'The appId of the service principal does not reference a valid application object.' },\r\n  __frame: \r\n   { name: '__1',\r\n     line: 173,\r\n     file: '/usr/lib/node_modules/azure-cli/lib/commands/arm/ad/ad.servicePrincipals.js',\r\n     prev: \r\n      { name: '__3',\r\n        line: 103,\r\n        file: '/usr/lib/node_modules/azure-cli/lib/commands/arm/ad/ad.servicePrincipals.js',\r\n        prev: undefined,\r\n        calls: 1,\r\n        active: false,\r\n        offset: 69,\r\n        col: 29 },\r\n     calls: 0,\r\n     active: false,\r\n     offset: 1,\r\n     col: 40 },\r\n  rawStack: [Getter] }\r\nError: {\"odata.error\":{\"code\":\"Request_BadRequest\",\"message\":{\"lang\":\"en\",\"value\":\"The appId of the service principal does not reference a valid application object.\"},\"values\":[{\"item\":\"PropertyName\",\"value\":\"appId\"},{\"item\":\"PropertyErrorCode\",\"value\":\"NoBackingApplicationObject\"}]}}\r\n  <<< async stack >>>\r\n  at __1 (/usr/lib/node_modules/azure-cli/lib/commands/arm/ad/ad.servicePrincipals.js:174:41)\r\n  at __3 (/usr/lib/node_modules/azure-cli/lib/commands/arm/ad/ad.servicePrincipals.js:172:30)\r\n  <<< raw stack >>>\r\n    at /usr/lib/node_modules/azure-cli/node_modules/azure-graph/lib/operations/servicePrincipals.js:145:19\r\n    at retryCallback (/usr/lib/node_modules/azure-cli/node_modules/ms-rest/lib/filters/exponentialRetryPolicyFilter.js:140:9)\r\n    at handleRedirect (/usr/lib/node_modules/azure-cli/node_modules/ms-rest/lib/filters/redirectFilter.js:36:9)\r\n    at /usr/lib/node_modules/azure-cli/lib/util/utils.js:587:7\r\n    at handleRedirect (/usr/lib/node_modules/azure-cli/lib/util/utils.js:564:9)\r\n    at /usr/lib/node_modules/azure-cli/lib/util/logging.js:339:7\r\n    at Request._callback (/usr/lib/node_modules/azure-cli/node_modules/ms-rest/lib/requestPipeline.js:125:16)\r\n    at Request.self.callback (/usr/lib/node_modules/azure-cli/node_modules/request/request.js:187:22)\r\n    at emitTwo (events.js:106:13)\r\n    at Request.emit (events.js:191:7)\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes-anywhere/issues/comments/250676374","html_url":"https://github.com/kubernetes/kubernetes-anywhere/issues/251#issuecomment-250676374","issue_url":"https://api.github.com/repos/kubernetes/kubernetes-anywhere/issues/251","id":250676374,"user":{"login":"ggm-at-apnic","id":7855688,"avatar_url":"https://avatars.githubusercontent.com/u/7855688?v=3","gravatar_id":"","url":"https://api.github.com/users/ggm-at-apnic","html_url":"https://github.com/ggm-at-apnic","followers_url":"https://api.github.com/users/ggm-at-apnic/followers","following_url":"https://api.github.com/users/ggm-at-apnic/following{/other_user}","gists_url":"https://api.github.com/users/ggm-at-apnic/gists{/gist_id}","starred_url":"https://api.github.com/users/ggm-at-apnic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggm-at-apnic/subscriptions","organizations_url":"https://api.github.com/users/ggm-at-apnic/orgs","repos_url":"https://api.github.com/users/ggm-at-apnic/repos","events_url":"https://api.github.com/users/ggm-at-apnic/events{/privacy}","received_events_url":"https://api.github.com/users/ggm-at-apnic/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T07:16:01Z","updated_at":"2016-09-30T07:16:01Z","body":"Ok. here it is.\r\n\r\n[azure.err.zip](https://github.com/kubernetes/kubernetes-anywhere/files/502311/azure.err.zip)\r\n"}}
{"actor":{"display_login":"ggm-at-apnic"}}