Forum Discussion

Saravanan_ameer's avatar
Saravanan_ameer
Copper Contributor
Sep 28, 2022

How to get the NextLifecycleDate using MG-Graph

Hi All, I have powershell scripts using the MSOLService connections and getting the license expiry details like 

 

$Subscriptions= Get-MsolSubscription | foreach{
$SubscriptionName=$_.SKUPartNumber
$SubscribedOn=$_.DateCreated
$ExpiryDate=$_.NextLifeCycleDate
$Status=$_.Status
$TotalLicenses=$_.TotalLicenses
$Print=0

 

But Now We are migrating to MG-GRAPH and I don't find the required details in MG-GRAPH commands (subscribedSku).

 

Please advise how to get those details in MG-GRAPH

 

3 Replies

Resources