Hi,
I am trying to pull out the list of distribution group a user is member of using powershell.
Get-Memberof -Identity "user name"
But the problem is that i can only get the list of dl's for which user is member of for on-prem dl's and not for cloud dl's as the ad account memberof tab only consist the list of on-prem dl's only and not the dl's which are created directly on o365.
So is there a way to get the list of dl's for both type of dl i.e on-prem and dl's which are created directly on o365?
regards,
SSS