We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec4f613 commit 21474e3Copy full SHA for 21474e3
5-WebApp-AuthZ/5-2-Groups/Services/MicrosoftGraph-Rest/MSGraphService.cs
@@ -277,7 +277,7 @@ public async Task<UserGroupsAndDirectoryRoles> GetCurrentUserGroupsAndRolesAsync
277
public async Task<List<Group>> GetMyMemberOfGroupsAsync(string accessToken)
278
{
279
List<Group> groups = new List<Group>();
280
-
+ PrepareAuthenticatedClient(accessToken);
281
// Get groups the current user is a direct member of.
282
IUserMemberOfCollectionWithReferencesPage memberOfGroups = await graphServiceClient.Me.MemberOf.Request().GetAsync();
283
if (memberOfGroups?.Count > 0)
@@ -378,4 +378,4 @@ await Task.Run(() =>
378
}
379
380
381
-}
+}
0 commit comments