Skip to content

enterprise/providers/microsoft_entra: skip members already in the group (cherry-pick #26891 to version-2026.8) - #26952

Merged
BeryJu merged 1 commit into
version-2026.8from
cherry-pick/26891-to-version-2026.8
Oct 15, 2026
Merged

BeryJu merged 1 commit into
version-2026.8from
cherry-pick/26891-to-version-2026.8

Conversation

@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

Cherry-pick of #26891 to version-2026.8 branch.

Original PR: #26891
Original Author: @dominic-r
Cherry-picked commit: 1338dc9

…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.
@netlify

netlify Bot commented Oct 15, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 97bcd25
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6ad0e77797414beac5daaa39
😎 Deploy Preview https://deploy-preview-26952--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Oct 15, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 97bcd25
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6ad0e7779e96444710f99343
😎 Deploy Preview https://deploy-preview-26952--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.04%. Comparing base (e5fd0a1) to head (97bcd25).
✅ All tests successful. No failed tests found.

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           
Flag Coverage Δ
conformance 33.69% <0.00%> (-0.02%) ⬇️
e2e 38.33% <0.00%> (-0.02%) ⬇️
integration 30.36% <0.00%> (-0.01%) ⬇️
rust 46.45% <ø> (ø)
unit 93.47% <100.00%> (+<0.01%) ⬆️
unit-migrate 93.47% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

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)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

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-97bcd256cf6a8834d55d72667ae858db3e63c46c

Afterwards, run the upgrade commands from the latest release notes.

@BeryJu
BeryJu merged commit 64972c0 into version-2026.8 Oct 15, 2026
138 checks passed
@BeryJu
BeryJu deleted the cherry-pick/26891-to-version-2026.8 branch October 15, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants