Set-​Azure​AD​Group

Updates a specific group in Azure Active Directory

Syntax

Set-AzureADGroup
   [-Description <String>]
   [-DisplayName <String>]
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [-MailEnabled <Boolean>]
   [-MailNickName <String>]
   -ObjectId <String>
   [-SecurityEnabled <Boolean>]
   [<CommonParameters>]

Description

The Set-AzureADGroup cmdlet updates a group in Azure Active Directory (AD).

Examples

Example 1: Update a group

PS C:\>Set-AzureADGroup -ObjectId "11fa5e1e-737c-40c5-835e-416ae3959606" -Description "This is my new group"

This command updates the specfied group in Azure AD.

Required Parameters

-ObjectId

Specifies the object ID of a group.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-Description

Specfies a description.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisplayName

Specifies a display name.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationAction

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

  • Continue
  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MailEnabled

Indicates whether mail is enabled.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MailNickName

Specifies a nickname for the mail.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-SecurityEnabled

Indicates whether security is enabled.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False