Show / Hide Table of Contents

    Remove-PnPUnifiedGroup

    SYNOPSIS

    Removes one Office 365 Group (aka Unified Group). Requires the Azure Active Directory application permission 'Group.ReadWrite.All'.

    SYNTAX

    DESCRIPTION

    EXAMPLES

    EXAMPLE 1

    Remove-PnPUnifiedGroup -Identity $groupId
    

    Removes an Office 365 Group based on its ID

    EXAMPLE 2

    Remove-PnPUnifiedGroup -Identity $group
    

    Removes the provided Office 365 Group

    EXAMPLE 3

    Get-PnPUnifiedGroup | ? Visibility -eq "Public" | Remove-PnPUnifiedGroup
    

    Removes all the public Office 365 Groups

    PARAMETERS

    RELATED LINKS

    SharePoint Developer Patterns and Practices

    Back to top Generated by DocFX spacer