AD User Photo synchronization sub-module

Created on 1 April 2022, about 2 years ago
Updated 15 January 2024, 5 months ago

A sub-module that add functionality to synchronize an image on the user profile with their AD profile picture.

There are a couple configuration options added when the sub-module aad_user_photo is enabled.

  1. Ensure the user entity has an image field to store the image.
  2. Ensure the user entity has an long text (plain) field to store the image's etag hash (used to ensure the image is only updated if it has changed).
  3. Choose Windows Graph API as the user info endpoint.
  4. Enable the 'Synchronize photo' configuration option in the Windows AAD OpenID Connect settings.
  5. Choose the image and long text fields to use in the settings.
  6. Choose the image size to retrieve.

Once all is configured the user profile picture will sync on user login if the photo in their AD account changes.

✨ Feature request
Status

Needs review

Version

2.0

Component

Miscellaneous

Created by

πŸ‡¨πŸ‡¦Canada acrazyanimal

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¨πŸ‡¦Canada Nathan Tsai

    Add Drupal 10 support

  • Status changed to Needs work about 1 year ago
  • πŸ‡¨πŸ‡¦Canada Nathan Tsai

    Opps, made a mistake with the patch.

    The submodule does not seem to be compatible with 2.0.0-beta4 though.

  • πŸ‡¬πŸ‡§United Kingdom adstokoe

    @acrazyanimal are you able to update your patch to support D10 and the latest version of this module? Also it would be great to merge this into the module once tested! Thanks :)

  • πŸ‡¨πŸ‡¦Canada acrazyanimal

    I've been meaning to update this patch to work with Drupal 10 for a while. Here it is!

    I updated the help text as well to add in more details about the required configuration. I have not had a chance to test the config translation. If someone else has a bit of time to test that out that would be super.

  • Status changed to Needs review 5 months ago
Production build 0.69.0 2024