Search Results for

    Show / Hide Table of Contents

    Remove-PnPAzureADGroup

    SYNOPSIS

    Required Permissions

    • Microsoft Graph API: Group.ReadWrite.All

    Removes one Azure Active Directory group. This can be a security, distribution or Microsoft 365 group.

    SYNTAX

    Remove-PnPAzureADGroup -Identity <AzureADGroupPipeBind>  
    

    DESCRIPTION

    Allows to remove Azure Active Directory group.

    EXAMPLES

    EXAMPLE 1

    Remove-PnPAzureADGroup -Identity $groupId
    

    Removes an Azure Active Directory group based on its ID

    EXAMPLE 2

    Remove-PnPAzureADGroup -Identity $group
    

    Removes the provided Azure Active Directory group

    PARAMETERS

    -Identity

    The Identity of the Azure Active Directory group

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

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer