Throwing an error in "Perform Full Sync"

Created on 30 January 2024, 5 months ago
Updated 13 February 2024, 4 months ago

Steps to reproduce:

1. Click "Perform Full Sync" for Manual Synchronization.
2. Throwing below error.

TypeError: Drupal\ms_graph_api\GraphApiGraphFactory::buildGraphFromKeyId(): Argument #1 ($key_id) must be of type string, null given, called in /modules/contrib/entrasync/src/Services/EntraSync.php on line 152

3. In the code of that line, trying to get 'client secret' from configuration.
4. But there is no client secret in the configuration settings.
5. Please check the attached screenshot.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India Revathi.B

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

Comments & Activities

  • Issue created by @Revathi.B
  • Status changed to Needs review 5 months ago
  • 🇮🇳India abhishek_virasat

    @Revathi.B, I have added changes to fix above error . please kindly review the Patch file.

  • Status changed to Needs work 5 months ago
  • 🇮🇳India Revathi.B

    No @abhishek, first in the configuration settings form itself Client secret is not there.
    So maintainer have to confirm that he refers client secret key or graph key for this requirement.

  • Status changed to Fixed 5 months ago
  • 🇳🇴Norway vegardjo

    Thanks folks, it was indeed the wrong reference, I have fixed it to refer to the graph_key instead :)

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024