You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -431,6 +431,16 @@ The following formats are supported for the groups claim:
431
431
* Array of group name strings: `"groups": ["group1", "group2", "group3"]`
432
432
* Object with name and id: `"groups": [{ "gid": "id1", "displayName": "group1" }, ...]`
433
433
434
+
### EntraID and Microsoft graph
435
+
436
+
If using EntraID an option to turn on group name lookups via Microsoft Graph. It will loop through all guid a user has and store the names of the groups in Nextcloud.
437
+
438
+
This can be done in the graphical settings for the provider by with the occ command to create/update providers:
$this->logger->error('Error response from Microsoft Graph while fetching group name. Will not sync the group ' . $groupId . '. Graph said: ' . $errorMessage);
722
+
returnnull;
723
+
}
724
+
725
+
if (empty($res['displayName'])) {
726
+
$this->logger->error('Empty response from Microsoft Graph while fetching group name. Will not sync the group ' . $groupId);
727
+
returnnull;
728
+
}
729
+
730
+
$group = (object)['gid' => $res['displayName']];
731
+
if ($this->providerService->getSetting($providerId, ProviderService::SETTING_PROVIDER_BASED_ID, '0') === '1') {
0 commit comments