Remove-​Azure​Remote​App​User

Removes a user from an Azure RemoteApp collection.

Syntax

Remove-AzureRemoteAppUser
      [-CollectionName] <String>
      [-Type] <PrincipalProviderType>
      [-UserUpn] <String[]>
      [-Alias <String>]
      [-Profile <AzureSMProfile>]
      [<CommonParameters>]

Description

The Remove-AzureRemoteAppUser cmdlet removes a user from an Azure RemoteApp collection.

Examples

Example1: Remove a user from a collection

PS C:\> Remove-AzureRemoteAppUser -CollectionName "Contoso" -Type OrgId -UserUpn "PattiFuller@contoso.com"

This command removes the Azure ActiveDirectory user PattiFuller@contoso.com from the Contoso collection.

Required Parameters

-CollectionName

Specifies the name of the Azure RemoteApp collection.

Type:String
Aliases:Name
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Type

Specifies a user type. The acceptable values for this parameter are: OrgId or MicrosoftAccount.

Type:PrincipalProviderType
Parameter Sets:OrgId, MicrosoftAccount
Position:2
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-UserUpn

Specifies the User Principal Name (UPN) of a user, for example, user@contoso.com.

Type:String[]
Position:3
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Alias

Specifies a published program alias. You can use this parameter only in per-app publishing mode.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

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