Hello All
Hope everyone is doing good , I would like share the article to find out the MS Teams Group expiration date and time , if any of the organization implemented Group Expiration policy in MS Entra alias Azure portal
Scenario : If any of the user comes to you, for finding out when will my MS Teams group get expire
Solution : There is no direct method to find out the MS Teams group expire date in Teams Admin center or any other cloud admin portal, however we can find in two ways.
1. Powershell
2. Microsoft Graph API
Let us see the both options below
From powershell
Connect the exchange online powershell and Microsoft Teams Powershell
run the below commands before that , get the name of the group which you would like to find out the expiration Date and Time
In My case the group name is "ExpiryDate_19_12_2023"
Get-UnifiedGroup -Identity "ExpiryDate_19_12_2023" | fl Expi*
From Graph API explorer
The below link is GET the default properties of all M365 Groups
Get group - Microsoft Graph beta | Microsoft Learn
In Example 1 Section -- Click on Try IT
Give the admin consent in graph API explorer, so that it will fetch all the group properties
Paste the group ID in the query BAR
GET https://graph.microsoft.com/beta/groups/cf760d3f-9aa1-43bb-97ea-20d2ade6ac87
Once the query runs successfully, you will get the below results in Request body
Comments
Post a Comment