{"action":"created","comment":{"url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/comments/104905318","pull_request_review_id":25759772,"id":104905318,"diff_hunk":"@@ -82,74 +81,75 @@ of the visual studio solution (App.Config and Web.Config) so that they are consi\n     # Active Directory Tenant. This is a GUID which represents the \"Directory ID\" of the AzureAD tenant into which you want to create the apps.\n     # Look it up in the Azure portal in the \"Properties\" of the Azure AD. \n     # IN THE FUTURE: We'd like to be able to get the tenant name from the tenant ID (or pass the tenant name as an argument)\n-    $tenantName = $tenantId\n+\n+    # Login to Azure PowerShell (interactive: you'll need to sign-in with creds enabling your to create apps in the tenant)\n+    $creds = Connect-AzureAD -TenantId $tenantId\n+     if (!$tenantId)\n+     {\n+         $tenantId = $creds.Tenant.Id\n+     }\n+    $tenant = Get-AzureADTenantDetail\n+    $tenantName =  $tenant.VerifiedDomains[0].Name\n \n     # Variables for the registration of the AAD application for the Web API Service\n     $serviceAadAppName = \"TodoListService\"\n     $serviceHomePage = \"https://localhost:44321\"\n-    $serviceAppIdIRI = \"https://\"+$tenantName+\"/\"+$serviceAadAppName\n+    $serviceAppIdURI = \"https://\"+$tenantName+\"/\"+$serviceAadAppName\n \n     # Variables for the registration of the AAD application for the Daemon app\n     $daemonAadAppName = \"TodoListDaemonWithCert\"\n     $daemonHomePage = \"http://TodoListDaemonWithCert\"\n-    $daemonAppIdIRI = \"http://TodoListDaemonWithCert\"\n+    $daemonAppIdURI = \"http://TodoListDaemonWithCert\"\n     $certificateName = \"CN=TodoListDaemonWithCert\"\n \n-    # Import required modules\n-    Import-Module AzureRM.Resources\n-\n-    # Login to Azure PowerShell (interactive: you'll need to sign-in with creds enabling your to create apps in the tenant)\n-    $creds = Login-AzureRmAccount -TenantId $tenantId\n \n     # Create the Azure Active Directory Application and it's service principal\n     # Note that if, at this point, you get an error: \"New-AzureRmADApplication : Your Azure credentials have not been set up or have expired, please run Login-AzureRMAccount to set up your Azure credentials\"\n     # then you will need to run Clear-AzureProfile (you might have an expired token)\n     Write-Host \"Creating the service appplication ($serviceAadAppName)\"\n-    $serviceApplication = New-AzureRmADApplication -DisplayName $serviceAadAppName -HomePage $serviceHomePage -IdentifierUris $serviceAppIdIRI\n-    $serviceservicePrincipal = New-AzureRmADServicePrincipal -ApplicationId $serviceApplication.ApplicationId\n+    $serviceApplication =New-AzureADApplication -DisplayName $serviceAadAppName -HomePage $serviceHomePage -IdentifierUris $serviceAppIdURI\n+    $serviceservicePrincipal = New-AzureADServicePrincipal -AppId $serviceApplication.AppId\n \n     # Create the daemon application\n     # ------------------------------\n+    # And create the daemon application\n+    $daemonApplication = New-AzureADApplication  -DisplayName $daemonAadAppName -HomePage $daemonHomePage -IdentifierUris $daemonAppIdURI\n+    $daemonservicePrincipal = New-AzureADServicePrincipal  -AppId $daemonApplication.AppId\n+\n     # Generate a certificate\n     Write-Host \"Creating the client appplication ($daemonAadAppName)\"\n     $certificate=New-SelfSignedCertificate -Subject $certificateName -CertStoreLocation \"Cert:\\CurrentUser\\My\"  -KeyExportPolicy Exportable -KeySpec Signature \n     $certKeyId = [Guid]::NewGuid()\n-\n-    # Create Azure Key Credentials from the certificate\n-    $keyCredential = New-Object Microsoft.Azure.Commands.Resources.Models.ActiveDirectory.PSADKeyCredential\n-    $keyCredential.KeyId = $certKeyId\n-    $keyCredential.CertValue = [System.Convert]::ToBase64String($certificate.GetRawCertData())\n-    $keyCredential.StartDate = $certificate.NotBefore\n-    $keyCredential.EndDate= $certificate.NotAfter\n-\n-    # And create the daemon application\n-    $daemonApplication = New-AzureRmADApplication -DisplayName $daemonAadAppName -HomePage $daemonHomePage -IdentifierUris $daemonAppIdIRI -KeyCredentials $keyCredential\n-    $daemonservicePrincipal = New-AzureRmADServicePrincipal -ApplicationId $daemonApplication.ApplicationId\n+    $certBase64Value = [System.Convert]::ToBase64String($certificate.GetRawCertData())\n+    $certBase64Thumbprint = [System.Convert]::ToBase64String($certificate.GetCertHash())\n+    \n+    # Add a Azure Key Credentials from the certificate for the application\n+    $applicationKeyCredentials = New-AzureADApplicationKeyCredential -ObjectId $daemonApplication.ObjectId -CustomKeyIdentifier $certificateName -Type AsymmetricX509Cert -Usage Verify -Value $certBase64Value  -StartDate $certificate.NotBefore -EndDate $certificate.NotAfter\n \n     # Update the config file in the daemon application\n     $configFile = $pwd.Path + \"\\TodoListDaemonWithCert\\App.Config\"\n     Write-Host \"Updating the configuration file for the client ($configFile)\"\n-    UpdateClientConfigFile -configFilePath $configFile -tenantId $tenantId -clientId $daemonApplication.ApplicationId -appUri $serviceAppIdIRI -baseAddress $serviceHomePage -certificateName $certificateName\n+    UpdateClientConfigFile -configFilePath $configFile -tenantId $tenantId -clientId $daemonApplication.AppId -appUri $serviceAppIdURI -baseAddress $serviceHomePage -certificateName $certificateName\n \n     # Update tehe config file in the service application\n     $configFile = $pwd.Path + \"\\TodoListService\\Web.Config\"\n     Write-Host \"Updating the client sample ($configFile)\"\n-    UpdateServiceConfigFile -configFilePath $configFile -tenantId $tenantId -audience $serviceAppIdIRI\n+    UpdateServiceConfigFile -configFilePath $configFile -tenantId $tenantId -audience $serviceAppIdURI\n \n     # prepare the clean-up\n-    $applicationsInformation = @{serviceApp=$serviceApplication; serviceAppServicePrincipal=$serviceservicePrincipal; clientApp=$daemonApplication; clientAppServicePrincipal=$daemonservicePrincipal;}\n+    $applicationsInformation = @{serviceApp=$serviceApplication; serviceAppServicePrincipal=$serviceservicePrincipal; clientApp=$daemonApplication; clientAppServicePrincipal=$daemonservicePrincipal; certificateThumbPrint=$certBase64Thumbprint}\n     return $applicationsInformation\n    }\n }\n \n \n-#Clean-Ups the applications and serice principal in Azure AD.\n-Function CleanUp($applicationsInformation)\n+# Remove the AAD applications and service principals registered for the sample.\n+Function Cleanup($applicationsInformation)\n {\n-    remove-azurermadserviceprincipal -objectid $applicationsInformation.serviceAppServicePrincipal.id -force\n-    remove-azurermadapplication -objectid $applicationsInformation.serviceApp.objectid -force\n-    remove-azurermadserviceprincipal -objectid $applicationsInformation.clientAppServicePrincipal.id -force\n-    remove-azurermadapplication -objectid $applicationsInformation.clientApp.objectid -force\n+    remove-azurermadserviceprincipal -objectid $applicationsInformation.serviceAppServicePrincipal.id","path":"Configure.ps1","position":127,"original_position":127,"commit_id":"8e472dd44ff0e2c1c5658dc416519fbee0d7b635","original_commit_id":"8e472dd44ff0e2c1c5658dc416519fbee0d7b635","user":{"login":"mjcheetham","id":5658207,"avatar_url":"https://avatars2.githubusercontent.com/u/5658207?v=3","gravatar_id":"","url":"https://api.github.com/users/mjcheetham","html_url":"https://github.com/mjcheetham","followers_url":"https://api.github.com/users/mjcheetham/followers","following_url":"https://api.github.com/users/mjcheetham/following{/other_user}","gists_url":"https://api.github.com/users/mjcheetham/gists{/gist_id}","starred_url":"https://api.github.com/users/mjcheetham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjcheetham/subscriptions","organizations_url":"https://api.github.com/users/mjcheetham/orgs","repos_url":"https://api.github.com/users/mjcheetham/repos","events_url":"https://api.github.com/users/mjcheetham/events{/privacy}","received_events_url":"https://api.github.com/users/mjcheetham/received_events","type":"User","site_admin":false},"body":"Same goes for variable names too. The PowerShell ISE or VS Code should autocomplete to the correct case them when pressing [Tab].","created_at":"2017-03-08T12:19:21Z","updated_at":"2017-03-08T12:19:22Z","html_url":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pull/26#discussion_r104905318","pull_request_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/comments/104905318"},"html":{"href":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pull/26#discussion_r104905318"},"pull_request":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/26","id":109663334,"html_url":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pull/26","diff_url":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pull/26.diff","patch_url":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pull/26.patch","issue_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/issues/26","number":26,"state":"open","locked":false,"title":"Updating the script to use the AzureAD PowerShell module instead of the AzureRM one","user":{"login":"jmprieur","id":13203188,"avatar_url":"https://avatars3.githubusercontent.com/u/13203188?v=3","gravatar_id":"","url":"https://api.github.com/users/jmprieur","html_url":"https://github.com/jmprieur","followers_url":"https://api.github.com/users/jmprieur/followers","following_url":"https://api.github.com/users/jmprieur/following{/other_user}","gists_url":"https://api.github.com/users/jmprieur/gists{/gist_id}","starred_url":"https://api.github.com/users/jmprieur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmprieur/subscriptions","organizations_url":"https://api.github.com/users/jmprieur/orgs","repos_url":"https://api.github.com/users/jmprieur/repos","events_url":"https://api.github.com/users/jmprieur/events{/privacy}","received_events_url":"https://api.github.com/users/jmprieur/received_events","type":"User","site_admin":false},"body":"With this change it's now possible to infer the tenant name (xxx.onmicrosoft.com) from the Tenant Id.\r\nAlso fixes a typo in a variable name","created_at":"2017-03-08T10:02:07Z","updated_at":"2017-03-08T12:19:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"defc3b62476251a39a8d06efb39094561dc1fd16","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/26/commits","review_comments_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/26/comments","review_comment_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/issues/26/comments","statuses_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/statuses/8e472dd44ff0e2c1c5658dc416519fbee0d7b635","head":{"label":"jmprieur:master","ref":"master","sha":"8e472dd44ff0e2c1c5658dc416519fbee0d7b635","user":{"login":"jmprieur","id":13203188,"avatar_url":"https://avatars3.githubusercontent.com/u/13203188?v=3","gravatar_id":"","url":"https://api.github.com/users/jmprieur","html_url":"https://github.com/jmprieur","followers_url":"https://api.github.com/users/jmprieur/followers","following_url":"https://api.github.com/users/jmprieur/following{/other_user}","gists_url":"https://api.github.com/users/jmprieur/gists{/gist_id}","starred_url":"https://api.github.com/users/jmprieur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmprieur/subscriptions","organizations_url":"https://api.github.com/users/jmprieur/orgs","repos_url":"https://api.github.com/users/jmprieur/repos","events_url":"https://api.github.com/users/jmprieur/events{/privacy}","received_events_url":"https://api.github.com/users/jmprieur/received_events","type":"User","site_admin":false},"repo":{"id":79117599,"name":"active-directory-dotnet-daemon-certificate-credential","full_name":"jmprieur/active-directory-dotnet-daemon-certificate-credential","owner":{"login":"jmprieur","id":13203188,"avatar_url":"https://avatars3.githubusercontent.com/u/13203188?v=3","gravatar_id":"","url":"https://api.github.com/users/jmprieur","html_url":"https://github.com/jmprieur","followers_url":"https://api.github.com/users/jmprieur/followers","following_url":"https://api.github.com/users/jmprieur/following{/other_user}","gists_url":"https://api.github.com/users/jmprieur/gists{/gist_id}","starred_url":"https://api.github.com/users/jmprieur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmprieur/subscriptions","organizations_url":"https://api.github.com/users/jmprieur/orgs","repos_url":"https://api.github.com/users/jmprieur/repos","events_url":"https://api.github.com/users/jmprieur/events{/privacy}","received_events_url":"https://api.github.com/users/jmprieur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmprieur/active-directory-dotnet-daemon-certificate-credential","description":"A .NET 4.5 daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens.","fork":true,"url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential","forks_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/forks","keys_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/teams","hooks_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/hooks","issue_events_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/issues/events{/number}","events_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/events","assignees_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/assignees{/user}","branches_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/branches{/branch}","tags_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/tags","blobs_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/statuses/{sha}","languages_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/languages","stargazers_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/stargazers","contributors_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/contributors","subscribers_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/subscribers","subscription_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/subscription","commits_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/contents/{+path}","compare_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/merges","archive_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/downloads","issues_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/issues{/number}","pulls_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/pulls{/number}","milestones_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/milestones{/number}","notifications_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/labels{/name}","releases_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/releases{/id}","deployments_url":"https://api.github.com/repos/jmprieur/active-directory-dotnet-daemon-certificate-credential/deployments","created_at":"2017-01-16T12:47:43Z","updated_at":"2017-01-16T12:47:46Z","pushed_at":"2017-03-08T11:59:45Z","git_url":"git://github.com/jmprieur/active-directory-dotnet-daemon-certificate-credential.git","ssh_url":"git@github.com:jmprieur/active-directory-dotnet-daemon-certificate-credential.git","clone_url":"https://github.com/jmprieur/active-directory-dotnet-daemon-certificate-credential.git","svn_url":"https://github.com/jmprieur/active-directory-dotnet-daemon-certificate-credential","homepage":"","size":1121,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure-Samples:master","ref":"master","sha":"b0fbce68f626e2c4b848cf9f1a1a0e938bbb6eb4","user":{"login":"Azure-Samples","id":1844662,"avatar_url":"https://avatars1.githubusercontent.com/u/1844662?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure-Samples","html_url":"https://github.com/Azure-Samples","followers_url":"https://api.github.com/users/Azure-Samples/followers","following_url":"https://api.github.com/users/Azure-Samples/following{/other_user}","gists_url":"https://api.github.com/users/Azure-Samples/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure-Samples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure-Samples/subscriptions","organizations_url":"https://api.github.com/users/Azure-Samples/orgs","repos_url":"https://api.github.com/users/Azure-Samples/repos","events_url":"https://api.github.com/users/Azure-Samples/events{/privacy}","received_events_url":"https://api.github.com/users/Azure-Samples/received_events","type":"Organization","site_admin":false},"repo":{"id":18254648,"name":"active-directory-dotnet-daemon-certificate-credential","full_name":"Azure-Samples/active-directory-dotnet-daemon-certificate-credential","owner":{"login":"Azure-Samples","id":1844662,"avatar_url":"https://avatars1.githubusercontent.com/u/1844662?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure-Samples","html_url":"https://github.com/Azure-Samples","followers_url":"https://api.github.com/users/Azure-Samples/followers","following_url":"https://api.github.com/users/Azure-Samples/following{/other_user}","gists_url":"https://api.github.com/users/Azure-Samples/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure-Samples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure-Samples/subscriptions","organizations_url":"https://api.github.com/users/Azure-Samples/orgs","repos_url":"https://api.github.com/users/Azure-Samples/repos","events_url":"https://api.github.com/users/Azure-Samples/events{/privacy}","received_events_url":"https://api.github.com/users/Azure-Samples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential","description":"A .NET 4.5 daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens.","fork":false,"url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential","forks_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/forks","keys_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/teams","hooks_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/hooks","issue_events_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/issues/events{/number}","events_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/events","assignees_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/assignees{/user}","branches_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/branches{/branch}","tags_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/tags","blobs_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/languages","stargazers_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/stargazers","contributors_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/contributors","subscribers_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/subscribers","subscription_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/subscription","commits_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/contents/{+path}","compare_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/merges","archive_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/downloads","issues_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/issues{/number}","pulls_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/labels{/name}","releases_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/releases{/id}","deployments_url":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/deployments","created_at":"2014-03-30T01:07:00Z","updated_at":"2017-02-20T02:04:58Z","pushed_at":"2017-03-08T11:59:46Z","git_url":"git://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential.git","ssh_url":"git@github.com:Azure-Samples/active-directory-dotnet-daemon-certificate-credential.git","clone_url":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential.git","svn_url":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential","homepage":"","size":1117,"stargazers_count":14,"watchers_count":14,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/26"},"html":{"href":"https://github.com/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pull/26"},"issue":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/issues/26"},"comments":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/Azure-Samples/active-directory-dotnet-daemon-certificate-credential/statuses/8e472dd44ff0e2c1c5658dc416519fbee0d7b635"}}}}
{"actor":{"display_login":"mjcheetham"}}