你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzureADApplicationProxyApplication

Get-AzureADApplicationProxyApplication cmdlet 检索为 Azure Active Directory 中的应用程序代理配置的应用程序。

语法

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

说明

Get-AzureADApplicationProxyApplication cmdlet 检索为 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 门户中导航到 AAD、企业应用程序、所有应用程序、选择应用程序、转到“属性”选项卡并使用该页上的 ObjectId 来找到此功能。

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

输入

String

输出

Object