I can see its possible to set expiration on groups via PowerShell. However I haven’t found any IP on adding specific groups to an expiration policy from c#. Any ideas how this can be performed? Ultimately through the graph API would be great.
New-AzureADMSGroupLifecyclePolicy -GroupLifetimeInDays 365 -ManagedGroupTypes All -AlternateNotificationEmails emailaddress@contoso.com