Get-AzureADApplicationProxyApplication

Get-AzureADApplicationProxyApplication コマンドレットは、Azure Active Directory でアプリケーション プロキシ用に構成されたアプリケーションを取得します。

構文

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

説明

Get-AzureADApplicationProxyApplication コマンドレットは、Azure Active Directory でアプリケーション プロキシ用に構成されたアプリケーションを取得します。

例 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                     :

例 2

次のスクリプトを使用して、テナントに登録されている Azure AD アプリケーション プロキシ アプリケーションの一覧を取得します。

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
    }
}

パラメーター

-ObjectId

これは、アプリケーションの一意のアプリケーション ID です。 これは、Get-AzureADApplication コマンドを使用して確認できます。 また、Azure Portal で AAD、エンタープライズ アプリケーション、すべてのアプリケーションに移動し、アプリケーションを選択し、[プロパティ] タブに移動して、そのページで ObjectId を使用することもできます。

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

入力

String

出力

Object