Problem/Motivation

When I install the o365 module with required modules and I enable the module, I get the following error: The service "o365.authentication" has a dependency on a non-existent service "externalauth.authmap".. I cannot disable or enable other modules anymore.

Steps to reproduce

1. Require and install the module with Composer.
2. Enable the module.
3. Get the error

Please ask me if you need more information!

Comments

Vlame created an issue. See original summary.

Vlame’s picture

Issue summary: View changes

  • fabianderijk committed b288d55 on 3.0.x
    Issue #3268138: The service "o365.authentication" has a dependency on a...
fabianderijk’s picture

Status: Active » Fixed

I can't reproduce this issue, but maybe this has something to do with an outdated version constraint on the externalauth module. I've updated the version in the composer.json of this module. Can you upgrade to the 3.0.7 version with composer update drupal/o365 --with-dependencies? This also updates the externalauth module to the newest version.

johanf’s picture

Hello

i got this error too.

you have to enable externalauth module first and then o365 module.

the reason is externalauth is not in dependencies list of o365 module in the o365.info.yml

johanf’s picture

Status: Fixed » Active

  • fabianderijk committed 705c0b7 on 3.0.x
    Issue #3268138 by fabianderijk: The service "o365.authentication" has a...

  • fabianderijk committed 84111e8 on 3.0.x
    Issue #3268138 by fabianderijk: The service "o365.authentication" has a...
fabianderijk’s picture

Status: Active » Fixed

I've added the - externalauth:externalauth as a dependency.

Status: Fixed » Closed (fixed)

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