Remove-AzureADApplication

依 objectId 刪除應用程式。

Syntax

Remove-AzureADApplication
      -ObjectId <String>
      [-InformationAction <ActionPreference>]
      [-InformationVariable <String>]
      [<CommonParameters>]

Description

Remove-AzureADApplication Cmdlet 會從 Azure Active Directory (AD) 移除指定的應用程式。

範例

範例 1:移除應用程式

PS C:\>Remove-AzureADApplication -ObjectId "acd10942-5747-4385-8824-4c5d5fa904f9"

此命令會移除指定的應用程式。

參數

-InformationAction

指定此 Cmdlet 如何回應資訊事件。

此參數可接受的值為:

  • 繼續
  • 忽略
  • 詢問
  • SilentlyContinue
  • Stop
  • 暫止
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InformationVariable

指定資訊變數。

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

-ObjectId

指定 Azure AD 中應用程式的識別碼。

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

備註

請參閱 Remove-AzureADApplication 至 Microsoft Graph PowerShell 的移轉指南。