Remove-EntraApplication

アプリケーション オブジェクトを削除します。

構文

Default (既定)

Remove-EntraApplication

    -ApplicationId <String>
    [<CommonParameters>]

説明

Remove-EntraApplication コマンドレットは、ApplicationId によって識別されるアプリケーション オブジェクトを削除します。 アプリケーション オブジェクトを削除する ApplicationId パラメーターを指定します。

例 1: アプリケーションを削除する

Connect-Entra -Scopes 'Application.ReadWrite.All'
$application = Get-EntraApplication -Filter "DisplayName eq 'Contoso Helpdesk Application'"
Remove-EntraApplication -ApplicationId $application.Id

この例では、アプリケーション オブジェクトを削除する方法を示します。

例 2: パイプライン処理を使用してアプリケーションを削除する

Connect-Entra -Scopes 'Application.ReadWrite.All'
Get-EntraApplication -Filter "DisplayName eq 'Contoso Helpdesk Application'" | Remove-EntraApplication

この例では、パイプラインを使用してアプリケーション オブジェクトを削除する方法を示します。

パラメーター

-ApplicationId

Microsoft Entra IDのアプリケーションの ID を指定します。

パラメーターのプロパティ

型:System.String
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:オブジェクト識別子

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:True
プロパティ名別のパイプラインからの値:True
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

System.String