Add-CrmFlightAudience

Adds the specified environment to a particular flight.

Syntax

Add-CrmFlightAudience
   -FlightId <Guid>
   -InstanceId <Guid>
   [-ApiUrl] <Uri>
   [[-Credential] <PSCredential>]
   [-MaxCrmConnectionTimeOutMinutes <Int32>]
   [<CommonParameters>]

Description

The Add-CrmFlightAudience cmdlet adds the specified environment to a particular flight.

Examples

Example 1

PS C:\> Add-CrmFlightAudience -ApiUrl $connectionhost -Credential $cred -FlightId <Guid> -InstanceId <Guid>

Adds the specified environment to preview a particular flight identified by using the FlightId parameter.

Parameters

-ApiUrl

URL of the Dataverse root service endpoint. For information about this parameter see Establish your credentials and connection.

Type:Uri
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Credential

User credential for signing in to Dataverse. For information about this parameter see Establish your credentials and connection.

Type:PSCredential
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-FlightId

Uniquely identifies a particular flight. Use the Get-CrmFlights cmdlet to return all available flights.

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

-InstanceId

Id for the specific Dataverse environment. Use the Get-CrmInstances cmdlet to find all Ids within the same tenant.

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

-MaxCrmConnectionTimeOutMinutes

Maximum number in minutes to wait before quitting the operation.

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

Inputs

System.Guid

System.Uri

System.Management.Automation.PSCredential

System.Int32

Outputs

System.Object