Graph .NET > Tutorial > Get groups

The following example shows you how to list all available groups visible for this user.

C# example