Share via


Get-AzureADApplicationProxyApplication

Cmdleten Get-AzureADApplicationProxyApplication hämtar ett program som konfigurerats för Programproxy i Azure Active Directory.

Syntax

Get-AzureADApplicationProxyApplication
   -ObjectId <String>
   [<CommonParameters>]

Description

Cmdleten Get-AzureADApplicationProxyApplication hämtar ett program som konfigurerats för Programproxy i Azure Active Directory.

Exempel

Exempel 1

PS C:\> Get-AzureADApplicationProxyApplication -ObjectId 8d6c6684-6f8c-42e2-8914-32ed2adf9ccf

ExternalAuthenticationType               : AadPreAuthentication
ApplicationServerTimeout                 : Default
ExternalUrl                              : https://travel.cycles.adventure-works.com/
InternalUrl                              : https://awcyclesapps.adventure-works.com:3000/
IsTranslateHostHeaderEnabled             : False
IsTranslateLinksInBodyEnabled            : False
IsOnPremPublishingEnabled                : True
VerifiedCustomDomainCertificatesMetadata : class OnPremisesPublishingVerifiedCustomDomainCertificatesMetadataObject {
                                             Thumbprint:  [XXXXX]
                                             SubjectName: [XXXXX]
                                             Issuer: 
                                             IssueDate: 11/9/2017 5:54:29
                                             ExpiryDate: 11/9/2019 5:54:29
                                           }
                                           
VerifiedCustomDomainKeyCredential        : 
VerifiedCustomDomainPasswordCredential   : 
SingleSignOnSettings                     :

Exempel 2

Använd följande skript för att hämta listan över Azure AD Programproxy program som är registrerade i din klientorganisation:

foreach ($a in (Get-AzureADApplication -All:$true))
{
    try
    {
        $p = Get-AzureADApplicationProxyApplication -ObjectId $a.ObjectId
        [pscustomobject]@{ObjectID=$a.ObjectId; DisplayName=$a.DisplayName; ExternalUrl=$p.ExternalUrl; InternalUrl=$p.InternalUrl}
    }
    catch
    {
        continue
    }
}

Parametrar

-ObjectId

Det här är det unika program-ID:t för programmet. 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

Indata

String

Utdata

Object