Set-GraphApplication
Sinopse
Set-GraphApplication é uma função wrapper para chamar cmdlets do Graph do AD FS no AD FS.
Sintaxe
Set-GraphApplication [-ClientCertificates <Object>] [-ClientRedirectUris <Object>]
[-ApplicationIdentifier <Object>] [-ChangeClientSecret] [-ResetClientSecret] [-AsJob]
Descrição
Invoca o Set-GraphApplicationGroup no AD FS para modificar um aplicativo no computador do AD FS.
Exemplos
Exemplo 1
$cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2('c:\temp\testcert.cer')
$appId = 'S-1-1-11-2222222222-3333333333-4444444444-5555'
$script = {
Set-GraphApplication -ApplicationIdentifier $using:appId -ClientCertificates $using:cert
}
Invoke-Command -ComputerName '<ercs01 computer name>' -ScriptBlock $script -ConfigurationName PrivilegedEndpoint
Parâmetros
-ApplicationIdentifier
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ClientRedirectUris
URI de redirecionamento usado para criar um novo aplicativo no AD FS.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Clientcertificates
Certificado usado para criar um novo aplicativo no AD FS.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ResetClientSecret
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ChangeClientSecret
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-AsJob
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Próximas etapas
Para obter informações sobre como acessar e usar o ponto de extremidade privilegiado, consulte Usar o ponto de extremidade privilegiado no Azure Stack Hub.