{"action":"created","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs/issues/955","repository_url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs","labels_url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs/issues/955/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs/issues/955/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs/issues/955/events","html_url":"https://github.com/MicrosoftDocs/windowsserverdocs/issues/955","id":330612646,"node_id":"MDU6SXNzdWUzMzA2MTI2NDY=","number":955,"title":"401 Unauthroized","user":{"login":"jnfarmer","id":32333139,"node_id":"MDQ6VXNlcjMyMzMzMTM5","avatar_url":"https://avatars3.githubusercontent.com/u/32333139?v=4","gravatar_id":"","url":"https://api.github.com/users/jnfarmer","html_url":"https://github.com/jnfarmer","followers_url":"https://api.github.com/users/jnfarmer/followers","following_url":"https://api.github.com/users/jnfarmer/following{/other_user}","gists_url":"https://api.github.com/users/jnfarmer/gists{/gist_id}","starred_url":"https://api.github.com/users/jnfarmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnfarmer/subscriptions","organizations_url":"https://api.github.com/users/jnfarmer/orgs","repos_url":"https://api.github.com/users/jnfarmer/repos","events_url":"https://api.github.com/users/jnfarmer/events{/privacy}","received_events_url":"https://api.github.com/users/jnfarmer/received_events","type":"User","site_admin":false},"labels":[{"id":905016442,"node_id":"MDU6TGFiZWw5MDUwMTY0NDI=","url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs/labels/WAC","name":"WAC","color":"dfe861","default":false},{"id":588294798,"node_id":"MDU6TGFiZWw1ODgyOTQ3OTg=","url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-08T10:54:33Z","updated_at":"2018-06-14T00:05:33Z","closed_at":null,"author_association":"NONE","body":"I'm getting the error below when trying to register the Azure AD gateway\r\n\r\nInvoke-WebRequest : The remote server returned an error: (401) Unauthorized.\r\nAt C:\\users\\jfarmer.server\\downloads\\WindowsAdminCenterAzureConnectScript-1804-4\\New-AadApp.ps1:262 char:21\r\n+ ... $response = Invoke-WebRequest -Uri $url -Body $body -Method Put -UseD ...\r\n+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException\r\n    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand\r\n\r\nFailed to register the application with the gateway\r\nAt C:\\users\\jfarmer.server\\downloads\\WindowsAdminCenterAzureConnectScript-1804-4\\New-AadApp.ps1:270 char:5\r\n+     throw $err\r\n+     ~~~~~~~~~~\r\n    + CategoryInfo          : OperationStopped: (Failed to regis...ith the gateway:String) [], RuntimeException\r\n    + FullyQualifiedErrorId : Failed to register the application with the gateway\r\n\r\n\r\nI've tried the CNAME suggestion in the other article but still had no luck with that either."},"comment":{"url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs/issues/comments/397125638","html_url":"https://github.com/MicrosoftDocs/windowsserverdocs/issues/955#issuecomment-397125638","issue_url":"https://api.github.com/repos/MicrosoftDocs/windowsserverdocs/issues/955","id":397125638,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzEyNTYzOA==","user":{"login":"lizap","id":7171858,"node_id":"MDQ6VXNlcjcxNzE4NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/7171858?v=4","gravatar_id":"","url":"https://api.github.com/users/lizap","html_url":"https://github.com/lizap","followers_url":"https://api.github.com/users/lizap/followers","following_url":"https://api.github.com/users/lizap/following{/other_user}","gists_url":"https://api.github.com/users/lizap/gists{/gist_id}","starred_url":"https://api.github.com/users/lizap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lizap/subscriptions","organizations_url":"https://api.github.com/users/lizap/orgs","repos_url":"https://api.github.com/users/lizap/repos","events_url":"https://api.github.com/users/lizap/events{/privacy}","received_events_url":"https://api.github.com/users/lizap/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T00:05:33Z","updated_at":"2018-06-14T00:05:33Z","author_association":"CONTRIBUTOR","body":"I've changed the labeling, which should get the attention of the WAC team. "}}
{"actor":{"display_login":"lizap"}}