Forum Discussion

cvanaxel's avatar
cvanaxel
Brass Contributor
Mar 22, 2020

I need help with ConfigureWVDSSO.ps1

I want this to work so my users dont have to logon twice. But when i try this i get an error on the adfs server.

 

Grant-AdfsApplicationPermission : The term 'Grant-AdfsApplicationPermission' is not recognized.

And which settings or not to be changed?

 

.\ConfigureWVDSSO.ps1 -WvdWebAppAppIDUri "https://mrs-Prod.ame.gbl/mrs-RDInfra-prod" -WvdClientAppApplicationID "fa4345a4-a730-4230-84a8-7d9651b86739" -RelyingPartyClientName "RemoteApp client (LEVVEL)" -ADFSAuthority "https://XXX.XXXXXX.com.com/adfs" -RdWebURL "https://rdweb.wvd.microsoft.com"

11 Replies

  • tadhgclifford's avatar
    tadhgclifford
    Brass Contributor
    Hi. I have set up SSO for AVD using the ConfigureWVDSSO.ps1 script mentioned. The AVD web client works fine on SSO afterwards but I can't get the RD client apps to work, i.e. the remote desktop app, azure virtual desktop app, windows app. When I try to subscribe on one of the apps mentioned it initially takes me to my organization sign-in page but after I enter my SSO credentials again it just hangs on "taking you to your organization's sign-in page." Has anyone else run into this issue?
  • cvanaxel's avatar
    cvanaxel
    Brass Contributor

    cvanaxel 

    douglind1 

     

    This is SSO is not really SSO. It creates more problems. I got it working but in side the Desktop it started to ask for Teams also sign-in again.  Also for Outlook. We use Azure MFA and now user get prompt multiple times in there session.

     

    • douglind1's avatar
      douglind1
      Copper Contributor

      cvanaxel That sounds like an issue with how federation is configured... not as much on the WVD/sso side.

      • cvanaxel's avatar
        cvanaxel
        Brass Contributor
        Do you mean the Microsoft office365 federation?
    • cvanaxel's avatar
      cvanaxel
      Brass Contributor
      I think the script only works with adfs4.0 windows 2016. Because the command I posted is not recognized in adfs3.0 windows 2012r2

Resources