Repository navigation
enterprise/providers/microsoft_entra: skip members already in the group (cherry-pick #26891 to version-2026.8) - #26952
Conversation
…up (#26891) * enterprise/providers/microsoft_entra: skip members already in the group Each group write re-adds every member, and Graph answers a member that is already in the group with 400 instead of 409. That error became StopSync, so from the second full sync on, the sync stopped at the first group with members and skipped the rest of the page. Map that response to ObjectExistsSyncException, which the member loop already ignores. Closes: #26817 * enterprise/providers/microsoft_entra: only add members missing from the group Graph's 400 for an existing member carries only the generic Request_BadRequest code, so recognising it means matching the message text. List the group's members instead and only post the missing ones, which also stops every full sync from re-posting every member.
✅ Deploy Preview for authentik-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## version-2026.8 #26952 +/- ##
===============================================
Coverage 92.04% 92.04%
===============================================
Files 1162 1162
Lines 75162 75186 +24
Branches 4129 4129
===============================================
+ Hits 69181 69207 +26
+ Misses 5915 5913 -2
Partials 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-97bcd256cf6a8834d55d72667ae858db3e63c46c
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-97bcd256cf6a8834d55d72667ae858db3e63c46cAfterwards, run the upgrade commands from the latest release notes. |
Cherry-pick of #26891 to
version-2026.8branch.Original PR: #26891
Original Author: @dominic-r
Cherry-picked commit: 1338dc9