NestedModules/SkypeOnlineConnector/SkypeOnlineConnectorStartup.psm1

# This script contains the custom function that creates the new-pssession using the webticket
function New-CsOnlineSession()
{
    <#
    .SYNOPSIS
    Creates a persistent connection to Microsoft Skype For Business Online DataCenter.
 
    .Description
     Creates a remote session to Microsoft Skype For Business Online DataCenter. In this session, tenant administrator can run Skype For Business cmdlets to manage users, policies and configurations.
 
    .Parameter Credential
 
    Specifies a user account that is Tenant Administrator, or Syndicated Partner Administrator.
 
    Type a user name, such as "User@Domain.com", or enter a PSCredential object, such as one returned by the Get-Credential cmdlet.
 
    When you type a user name, you will be prompted for a password.
 
    .Parameter OverrideAdminDomain
 
    Specifies a domain to be managed. This could be home domain of signed in user, or a different one that he/she has permission to manage. Optional.
 
    .Parameter OverrideDiscoveryUri
 
    Specifies Skype For Business Auto Discovery URI. Optional.
 
    .Parameter OverridePowershellUri
 
    Specifies Skype For Business Remote Powershell URI. Optional.
 
    .Parameter SessionOption
 
    Sets advanced options for the session. Enter a SessionOption object, such as one that you create by using the New-PSSessionOption cmdlet, or a hash table in which the keys are session option names and the values are session option values.
 
    .EXAMPLE
    New-CsOnlineSession -Credential User@Domain.com
 
    Establishes a Skype For Business Remote PowerShell Session, supplying the credentials of an administrator account of the tenant.
 
    .EXAMPLE
    New-CsOnlineSession -Credential User@Domain.com -OverrideAdminDomain TargetDomain.com
 
    Establishes a Skype For Business Remote PowerShell Session, with an administrator account that has permission to manage the tenant TargetDomain.com.
    Please change the OverrideAdminDomain to your target Tenant domain.
 
 
    #>


    [CmdletBinding(DefaultParameterSetName="UserName")]
    param
    (
        [Parameter(Mandatory = $false, Position=0, ParameterSetName="UserName")] [string] $UserName,
        [Parameter(Mandatory = $false, Position=0, ParameterSetName="Credential")] [PSCredential] [System.Management.Automation.Credential()] $Credential,
        [Parameter(Mandatory = $false)] [string] $OverrideAdminDomain,
        [Parameter(Mandatory = $false)] [Uri] $OverrideDiscoveryUri,
        [Parameter(Mandatory = $false)] [Uri] $OverridePowershellUri,
        [Parameter(Mandatory = $false)] [System.Management.Automation.Remoting.PSSessionOption] $SessionOption
    )

    $ConsentRequiredErrorCode = "65001"

    $ErrorActionPreference = "Stop"
    Import-LocalizedData -BindingVariable resources -FileName SkypeOnlineConnectorPSResources.psd1

    $path = Split-Path -parent $PSCommandPath
    Add-Type -Path (Join-Path -Path $path -ChildPath Microsoft.IdentityModel.Clients.ActiveDirectory.dll)
    Add-Type -Path (Join-Path -Path $path -ChildPath Microsoft.IdentityModel.Clients.ActiveDirectory.Platform.dll)

    if ($OverrideAdminDomain)
    {
        $adminDomain = $OverrideAdminDomain
    }
    else
    {
        Write-Verbose $resources.DetermineDomain

        if ($Credential) {
          $UserName = $Credential.UserName
        }
        elseif (!$UserName) {
          $UserName = Read-Host -Prompt $resources.EnterUserName
        }
        
        try{            
            $adminDomain = ([System.Net.Mail.MailAddress]$UserName).Host
        }catch{
            throw ($resources.WrongUserName -f $($UserName))
        }
    }

    $adminDomain = $adminDomain.Trim()
    Write-Verbose "AdminDomain = '$adminDomain'"

    if ($OverridePowershellUri)
    {
        $targetUri = $OverridePowershellUri
    }
    else
    {
        if ($OverrideDiscoveryUri)
        {
            Write-Verbose ($resources.DiscoveringEndpointWithURI -f $OverrideDiscoveryUri)
            $targetUri = Get-CsPowerShellEndpoint -TargetDomain $adminDomain -OverrideDiscoveryUri $OverrideDiscoveryUri
        }
        else
        {
            Write-Verbose $resources.DiscoveringEndpoint
            $targetUri = Get-CsPowerShellEndpoint -TargetDomain $adminDomain
        }
    }

    if (!$targetUri)
    {
        throw $resources.DiscoveringEndpointFail
    }
    Write-Verbose "TargetUri = '$targetUri'"

    $appAuthInfo = Get-AuthUri -targetUri $targetUri
    $authUri = $appAuthInfo.authUri
    $clientId = $appAuthInfo.clientId
  
    Write-Verbose "AuthUri = $authUri, ClientId = $clientId"
  
    Write-Verbose $resources.RequestAuthToken
  
    try
    {
      $accessToken = Get-CsAccessToken -UserName $UserName -TargetUri $targetUri -AuthUri $authUri -ClientId $clientId -Credential $Credential
    }
    catch [Microsoft.Rtc.Management.OnlineConnector.ConsentRequiredException]
    {
      Write-Error ($resources.ConsentRequired + " " + $_.Exception.ApplicationLoginUri)
      return
    }
    Write-Verbose $resources.AcquiredAccessToken

    $user = "oauth"
    $pass = ConvertTo-SecureString -AsPlainText $AccessToken -Force
    $cred = New-Object System.Management.Automation.PSCredential $user,$pass

    Write-Verbose $resources.InitRemoteSession
    
    $ConnectionUri = [UriBuilder]$targetUri
    $ConnectionUri.Query = "AdminDomain=$adminDomain;ConnectorVersion=$($resources.ConnectorVersion)"

    $extraParams=@{}
    if ($SessionOption)
    {
        $extraParams["SessionOption"] = $SessionOption
    }

    $session = New-PSSession -ConnectionUri $ConnectionUri.Uri -Credential $cred -Authentication Basic @extraParams
    Write-Verbose $resources.CreatedPowerShellSession

    return $session
}

Function Set-WinRMNetworkDelayMS
{
    <#
    .SYNOPSIS
    Changes the WinRM setting for the NetworkDelayms property (WSMan:\localhost\Client\NetworkDelayms).
 
    .Description
    The Skype For Business Online Connector connects to Skype For Business Remote PowerShell Server in order to establish a remote session. Sometimes this remote session can be broken because of network delay. To help address this problem, Skype For Business recommends setting NetworkDelayms to 30000 milliseconds (30 seconds) instead of the default value of 5000 milliseconds (5 seconds).
 
    .Parameter value
 
    Value of the NetworkDelayms property in milliseconds (there are 1000 milliseconds in each second). This must be an integer value.
 
    .EXAMPLE
    Set-WinRMNetworkDelayMS 30000
 
    This example sets the NetworkDelayms property (WSMan:\localhost\Client\NetworkDelayms) to 30000 milliseconds (30 seconds).
 
    #>


  param
  (
    [Parameter(Mandatory = $false)] [string] $value="30000"
  )

  $networkDelay = Get-Item WSMan:\localhost\Client\NetworkDelayms

  if($networkDelay -eq $null)
  {
    # If cannot get NetworkDelayms due to permission or other reason, just return.
    return
  }

  $oldValue = $networkDelay.Value
  $newValue = $value

  if($newValue -ne $oldValue)
  {
    Set-Item WSMan:\localhost\Client\NetworkDelayms $newValue

    # Warns the user that running this command has changed their client setting.
    Write-Warning ($resources.WSManSettingAltered -f $newValue, $oldValue)
    Write-Warning $resources.WSManSettingAlteredReason
  }
}

function Get-AuthUri($targetUri) {
  $response = $null
  $responseException = $null

  try 
  { 
      $response = Invoke-WebRequest $targetUri
  }
  catch 
  {
      $responseException = $_.Exception
      $response = $_.Exception.Response
  }

  if ($response -eq $null)
  {
      throw ($resources.AuthUriAcquisitionFail -f $targetUri)
  }

  if ($response.StatusCode -ne 401)
  {
      $message = ($resources.UnexpectedResponseFromServer -f $response.StatusCode)
      throw (New-Object -TypeName System.ArgumentOutOfRangeException -ArgumentList $message, $responseException)
  }

  $header = $response.Headers["WWW-Authenticate"]
  if (-not $header) 
  {
      throw $resources.CannotFindAuthHeader
  }

  $authUri = $null;
  if ($header -match 'authorization_uri="(.*?)"') 
  {
      $authUri = $matches[1]
  }
  else 
  {
      throw $resources.CannotFindUriInAuthHeader
  }

  $clientId = [GUID]::Empty;
  if ($header -match 'client_id="(.*?)"') 
  {
      if ([GUID]::TryParse($matches[1], [Ref] $clientId) -eq $false)
      {
        throw $resources.ClientIdNotGUIDInAuthHeader
      }
  }
  else
  {
      throw $resources.CannotFindClientIdInAuthHeader
  }

  $appAuthInfo = New-Object PsObject -Property @{authUri=$authUri ; clientId=$clientId}

  return $appAuthInfo
}

Export-ModuleMember New-CsOnlineSession,Set-WinRMNetworkDelayMS

# Call once when loading the module, do SilentlyContinue on error because this function should not block OnlineConnector if it fails.
Set-WinRMNetworkDelayMS -ErrorAction SilentlyContinue

# SIG # Begin signature block
# MIIdqgYJKoZIhvcNAQcCoIIdmzCCHZcCAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUNAjM49gDvuYMS0njuY3DUbcr
# iRigghhUMIIEwjCCA6qgAwIBAgITMwAAALu2dyRxSiAAIAAAAAAAuzANBgkqhk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