GithubHelp home page GithubHelp logo

Comments (9)

NikCharlebois avatar NikCharlebois commented on May 22, 2024

That is currently the expected behavior with the Exchange Online Management Shell, where there can only be 3 connections made. This normally happens if you ran Export-O365COnfiguration a few times. It is annoying and we are working with the team to find better alternatives that wouldn't require us to forcibly close the connections after every call to EXO, which would have a major negative impact on performance. Leave it running, and the moment one of the connection frees up, it will pick up the extraction. Note that this can sometimes take several minutes to happen.

from microsoft365dsc.

jfrobichaud avatar jfrobichaud commented on May 22, 2024

ok thanks

from microsoft365dsc.

jfrobichaud avatar jfrobichaud commented on May 22, 2024

Still doing this after 1h, is that something I can do to get a connection ? Thanks

from microsoft365dsc.

NikCharlebois avatar NikCharlebois commented on May 22, 2024

Get-PSSession | Remove-PSSession will clear all potential connections, but DSC executes in a different context so you may not be able to close its sessions.

from microsoft365dsc.

NikCharlebois avatar NikCharlebois commented on May 22, 2024

I have been able to reproduce a similar behavior where the Connect-EXO cmdlet retries to connect in an endless loop whenever I use an extraction account that doesnโ€™t have Admin access to Exchange Online. Make sure the account has proper privileges or unchecks all EXO related components before trying the extraction.

from microsoft365dsc.

jfrobichaud avatar jfrobichaud commented on May 22, 2024

I'm trying to extract O365AdminAuditLogConfig and I don't seem to be able to get a connection after letting the script run for 1 hour.

from microsoft365dsc.

NikCharlebois avatar NikCharlebois commented on May 22, 2024

Please see related issue opened within the Auth module

microsoft/MSCloudLoginAssistant#1

from microsoft365dsc.

NikCharlebois avatar NikCharlebois commented on May 22, 2024

@jfrobichaud please confirm that this is now fixed for you.

from microsoft365dsc.

jfrobichaud avatar jfrobichaud commented on May 22, 2024

Fixed, thanks.

from microsoft365dsc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.