Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Add-AzureRemoteAppUser

Add-AzureRemoteAppUser

microsoft.azure.commands.remoteapp.dll

Synopsis

This cmdlet adds a user to a Microsoft Azure RemoteApp collection.

Syntax

Add-AzureRemoteAppUser [-CollectionName] [-Type] [-UserUpn] [<CommonParameters>]

Detailed Description

This cmdlet adds a user to a Microsoft Azure RemoteApp collection.

Parameters

-CollectionName <string>

Name of the Microsoft Azure RemoteApp collection.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-Type <PrincipalProviderType>

Select a user type from OrgId or MicrosoftAccount.

The following values are permitted for this object type.

Aliases

None

Required?

true

Position

2

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-UserUpn <string[]>

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

Aliases

None

Required?

true

Position

3

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type


Notes

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>

Description

-----------

Adds the Microsoft Account someone@example.com to the Contoso collection.

Add-AzureRemoteAppUser -CollectionName Contoso -UserType MicrosoftAccount -UserUpn someone@example.com                        

-------------------------- EXAMPLE 2 --------------------------

C:\PS>

Description

-----------

Adds the Azure ActiveDirectory account user@contoso.com to the Contoso collection.

Add-AzureRemoteAppUser -CollectionName Contoso -UserType OrgId -UserUpn user@contoso.com