How to renew a Microsoft Entra group using Microsoft Graph PowerShell

Renewing groups prevents them from expiring and ensures users retain access to resources. This helps organizations manage group life cycles efficiently while avoiding accidental loss of access. In Microsoft Graph PowerShell, group renewal can be performed using the Invoke-MgRenewGroup cmdlet.

Renewing a group using Microsoft Graph PowerShell

Prerequisites

Before using the Invoke-MgRenewGroup cmdlet, ensure the following:

  • If the Microsoft Graph PowerShell module is not installed, install using this script:
    Install-Module Microsoft.Graph -Scope CurrentUser
  • Connect to Microsoft Graph PowerShell with the following permissions (from least to most privileged) to renew a group:
    Group.ReadWrite.All, Directory.ReadWrite.All,

Using the Invoke-MgRenewGroup cmdlet

Run the following cmdlet in Microsoft Graph PowerShell to renew a Microsoft Entra group.

Invoke-MgRenewGroup
-GroupId <String>
[-ResponseHeadersVariable <String>]
[-Headers <IDictionary>]
[-PassThru]
[-ProgressAction <ActionPreference>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]

Supported parameters

The following are some essential parameters that can be used along with the Invoke-MgRenewGroup command:

Parameters Description
-Confirm Prompts you for confirmation before running the cmdlet.
-GroupId The unique identifier of the group.
-PassThru Returns true when the command succeeds.
-Confirm Prompts you for confirmation before running the cmdlet.
-WhatIf Shows what will happen if the cmdlet runs.

Limitations of using Microsoft Graph PowerShell to renew a Microsoft Entra group

  • PowerShell scripts can get complicated with different use cases and scenarios.
  • IT admins can spend a lot of time debugging errors, which negatively impacts productivity.
  • Delegation can get tricky since technicians require elevated permissions.

How ADManager Plus helps you manage Microsoft Entra groups and more

ADManager Plus, an identity governance and administration solution with comprehensive Microsoft Entra ID management and reporting capabilities, simplifies complex admin tasks from a single, user-friendly console:

  • Manage groups, contacts, users, licenses, and other Microsoft Entra ID objects with a script-free, centralized console.
  • Reduce human errors by automating and orchestrating tasks such as user provisioning, deprovisioning, and license assignment across various platforms.
  • Delegate tasks to technicians without elevating their native privileges.
  • Keep a watchful eye on your IT environment with more than 200 pre-packaged reports.
  • Monitor delegated activities through smart workflows.
  • Ensure business continuity with AD, Microsoft Entra ID, and Google Workspace backup and recovery.

Perform script-free Microsoft Entra ID management and reporting with ADManager Plus

 
  • Renewing a group using Microsoft Graph PowerShell
  • Limitations of using Microsoft Graph PowerShell to renew a Microsoft Entra group
  • How ADManager Plus helps you manage Microsoft Entra groups and more
The one-stop solution to Active Directory Management and Reporting
Email Download Link