Search Results for

    Show / Hide Table of Contents

    Add-PnPTenantSequence

    SYNOPSIS

    Adds a tenant sequence object to a tenant template

    SYNTAX

    Add-PnPTenantSequence -Template <ProvisioningHierarchy> -Sequence <ProvisioningSequence>  
     
    

    DESCRIPTION

    Allows to add a a tenant sequence object to a tenant template.

    EXAMPLES

    EXAMPLE 1

    Add-PnPTenantSequence -Template $mytemplate -Sequence $mysequence
    

    Adds an existing sequence object to an existing template object

    EXAMPLE 2

    New-PnPTenantSequence -Id "MySequence" | Add-PnPTenantSequence -Template $template
    

    Creates a new instance of a provisioning sequence object and sets the Id to the value specified, then the sequence is added to an existing template object

    PARAMETERS

    -Confirm

    Prompts you for confirmation before running the cmdlet.

    Type: SwitchParameter
    Parameter Sets: (All)
    Aliases: cf
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Sequence

    Optional Id of the sequence

    Type: ProvisioningSequence
    Parameter Sets: (All)
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: True (ByValue)
    Accept wildcard characters: False
    

    -Template

    The template to add the sequence to

    Type: ProvisioningHierarchy
    Parameter Sets: (All)
    
    Required: True
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -WhatIf

    Shows what would happen if the cmdlet runs. The cmdlet is not run.

    Type: SwitchParameter
    Parameter Sets: (All)
    Aliases: wi
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer