Netherlands: Software

Introductie Windows Server 2016

Issue link:

Contents of this Issue


Page 108 of 173

100 C H A P T E R 4 | Networking This will provide you with the token-signing certificate's thumbprint, on which you run the following Set-OrganizationConfig cmdlets: $uris = @("","") Set-OrganizationConfig -AdfsIssuer "" -AdfsAudienceUris $uris –AdfsSignCertificateThumbprint "1a2b3c4d5e6f7g8h9i10j11k12l13m14n15o16p17q" Web Application Proxy troubleshooting The sections that follow provide a few tips on how you can troubleshoot issues that might arise in environments where Web Application Proxy has been deployed. Collecting information about your environment Managing and troubleshooting Web Application Proxy servers requires a good knowledge of Windows PowerShell and the cmdlets exposed for Web Application Proxy. When you are troubleshooting a Web Application Proxy problem, first take note of any error messages that appear in the console. If there aren't any obvious errors, review the event logs. You can sign in to each server and check the event logs, but you can use Windows PowerShell to simplify the process. For example, the following Windows PowerShell command will gather all the events that the Web Application Proxy server generated in the previous 24 hours, along with their ID, Level, and Message: $yesterday = (Get-Date) - (New-TimeSpan -Day 1) ; Get-WinEvent -FilterHashTable @{LogName='Microsoft-Windows-WebApplicationProxy/Admin'; StartTime=$yesterday} | group -Property ID,LevelDisplayName,Message -NoElement | sort Count, Name -Descending | ft – Name -HideTableHeaders } Suppose that you see Event ID 12000 repeatedly on this specific server; however, you have a number of Web Application Proxyservers, and you want to see if they are all experiencing the same error. Run the following command to collect all of the event ID 12000s generated within the previous 10 hours for a set of Web Application Proxy servers: Foreach ($Server in (gwpc).ConnectedServersName){Get-WinEvent -FilterHashTable @{LogName='Microsoft-Windows- WebApplicationProxy/Admin'; ID=12000; StartTime=(Get-Date) - (New-TimeSpan -hour 10)} -ComputerName $Server - ErrorAction SilentlyContinue | group MachineName -NoElement | ft Name -HideTableHeaders } Now you have the list of all the servers experiencing the issue. For this example, let's assume that there is only one server experiencing this error. The TechNet table of error codes can be very useful for resolving the issue ( The table on TechNet suggests checking the connectivity with AD FS for this particular Web Application Proxy server. To do so, go to https:///FederationMetadata/2007-06/FederationMetadata.xml and ensure that there is a trust relationship between the AD FS server and the Web Application Proxy server. If this doesn't work, run the Install-WebApplicationProxy cmdlet to correct the issue. Using the Microsoft Exchange Best Practices Analyzer You can also run the Exchange Best Practices Analyzer on the Web Application Proxy server. You can do this via the Server Manager GUI. In the far left pane, select Local Server and then, in the middle pane, scroll down to Best Practices Analyzer, as shown in Figure 4-24.

Articles in this issue

Links on this page

Archives of this issue

view archives of Netherlands: Software - Introductie Windows Server 2016