New-GraphApplicationNew-GraphApplication

摘要Synopsis

New-GraphApplication 是一个包装器函数,用于对 AD FS 调用 AD FS Graph cmdlet。New-GraphApplication is a wrapper function to call AD FS Graph cmdlets on AD FS.

语法Syntax

New-GraphApplication [-ClientCertificates <Object>] [-Name <Object>] [-ClientRedirectUris <Object>]
 [-GenerateClientSecret] [-AsJob]

说明Description

对 AD FS 调用 New-GraphApplicationGroup 可将新应用程序添加到 AD FS 计算机。Invokes the New-GraphApplicationGroup on AD FS to add new application on to AD FS machine.

示例Examples

示例 1Example 1

New-GraphApplication -Name $ApplicationName -ClientRedirectUris $redirectUri -ClientCertificates $certificate

parametersParameters

-Name-Name

最大长度为 50 字符的应用程序的名称,它将被修改为 Azurestack-$Name-$({guid}::{NewGuid}()) 并由函数返回。Name of the Application with maximum length of 50 chars, It will be modified as Azurestack-$Name-$({guid}::{NewGuid}())and is returned by the function.

Type: Object
Parameter Sets: (All)
Aliases:

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

-ClientRedirectUris-ClientRedirectUris

用于在 AD FS 中创建新应用程序的重定向 URI。Redirect URI used to create a new application in AD FS.

Type: Object
Parameter Sets: (All)
Aliases:

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

-ClientCertificates-ClientCertificates

用于在 AD FS 中创建新应用程序的证书。Certificate used to create a new application in AD FS.

Type: Object
Parameter Sets: (All)
Aliases:

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

-GenerateClientSecret-GenerateClientSecret

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-AsJob-AsJob

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

后续步骤Next steps

若要了解如何访问和使用特权终结点,请参阅使用 Azure Stack Hub 中的特权终结点For information on how to access and use the privileged endpoint, see Use the privileged endpoint in Azure Stack Hub.