Throwing an error in "Perform Full Sync"

Created on 30 January 2024, 10 months ago
Updated 13 February 2024, 9 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 10 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 10 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 10 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.71.5 2024