Set-AzureADApplicationProxyApplicationCustomDomainCertificate

Cmdleten Set-AzureADApplicationProxyApplicationCustomDomainCertificate tilldelar ett certifikat till ett program som konfigurerats för Programproxy i Azure Active Directory (AD). Då laddas certifikatet upp och programmet kan använda anpassade domäner.

Syntax

Set-AzureADApplicationProxyApplicationCustomDomainCertificate
   -ObjectId <String>
   -PfxFilePath <String>
   -Password <SecureString>
   [<CommonParameters>]

Description

Cmdleten Set-AzureADApplicationProxyApplicationCustomDomainCertificate tilldelar ett certifikat till ett program som konfigurerats för Programproxy i Azure Active Directory (AD). Då laddas certifikatet upp och programmet kan använda anpassade domäner. Om du har ett certifikat som innehåller många av dina program behöver du bara ladda upp det med ett program och det kommer också att tilldelas till de andra relevanta programmen.

Exempel

Exempel 1

PS C:\> $securePassword = Read-Host -AsSecureString
PS C:\> Set-AzureADApplicationProxyApplicationCustomDomainCertificate -ObjectId 4eba5342-8d17-4eac-a1f6-62a0de26311e -PfxFilePath "C:\Temp\Certificates\cert.pfx" -Password $securePassword

Exempel 1: Tilldela ett certifikat till ett program som konfigurerats för Programproxy

Parametrar

-ObjectId

Det unika program-ID:t för programmet som certifikatet ska laddas upp till. Du hittar detta med hjälp av kommandot Get-AzureADApplication. Du hittar även detta i Azure-portalen genom att gå till AAD, Företagsprogram, Alla program, Välj ditt program, gå till fliken Egenskaper och använda ObjectId på den sidan.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Password

En säker sträng som innehåller lösenordet för pfx-certifikatet

Type:SecureString
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PfxFilePath

Filsökvägen för pfx-certifikatet för den anpassade domänen

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Indata

String

System.Security.SecureString

Utdata

Object