locked
Unable to configure Web Application Proxy in Windows Server 2012 R2 RRS feed

  • Question

  • I am getting the below error while trying to configure Web application proxy in a windows server 2012 R2 instance. Both the WAP server and ADFS server are running in the same Azure region and network.

    PS C:\Windows\system32> Install-WebApplicationProxy -CertificateThumbprint 'XXXXXXXXXXXXXXXXXXXXXX' -F
    ederationServiceName 'sts.domain.com'

    cmdlet Install-WebApplicationProxy at command pipeline position 1
    Supply values for the following parameters:
    FederationServiceTrustCredential
    <g class="gr_ gr_32 gr-alert gr_gramm gr_hide gr_inline_cards gr_run_anim Style multiReplace replaceWithoutSep replaceWithoutSep" data-gr-id="32" id="32">Install-WebApplicationProxy :</g> An error occurred when attempting to set <g class="gr_ gr_31 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" data-gr-id="31" id="31">Web</g> Application Proxy global configuration.
    At line:1 char:1
    + Install-WebApplicationProxy -CertificateThumbprint 'XXXXXXXXXXXXXXXXXXXXXX ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Install-WebApplicationProxy], ProxyConfigurationException
        + FullyQualifiedErrorId : DeploymentTask,Microsoft.IdentityServer.Management.Proxy.Commands.InstallProxyCommand


    Message                                            Context                                                                         Status
    -------                                               -------                                                                           ------
    Unable to set global Web Application... DeploymentTask                                                            Error

    Wednesday, August 15, 2018 7:17 PM

All replies

  • Make sure you run PowerShell as administrator and that the account details you provide are local administrator in all the ADFS-servers in the farm you are trying to configure the proxy against.
    • Proposed as answer by Jesper Arnecke Friday, August 24, 2018 5:11 PM
    Monday, August 20, 2018 9:05 AM
  • The easiest way is to add your domain credentials as local Administrator on all AD FS Backend Servers. then when prompted for credentials enter domainName\userID and you should be good.

    Isaac Oben MCITP:EA, MCSE,MCC <a href="https://www.mcpvirtualbusinesscard.com/VBCServer/4a046848-4b33-4a28-b254-e5b01e29693e/interactivecard"> View my MCP Certifications</a>

    Thursday, August 23, 2018 11:58 PM