Microsoft365DSC icon indicating copy to clipboard operation
Microsoft365DSC copied to clipboard

Exchange Online Management 3.7.2 and newer is broken

Open FlattusBlastus opened this issue 7 months ago • 0 comments

Description of the issue

Method not found: 'Microsoft.Identity.Client.PublicClientApplicationBuilder Microsoft.Identity.Client.Broker.BrokerExtension.WithBroker(Microsoft.Identity.Client.PublicClientApplicationBuilder, Microsoft.Identity.Client.BrokerOptions)'. At C:\Program Files\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.7.2\netFramework\ExchangeOnlineManagement.psm1:754 char:21

  •                 throw $_.Exception.InnerException;
    
  •                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : OperationStopped: (:) [], MissingMethodException
    • FullyQualifiedErrorId : Method not found: 'Microsoft.Identity.Client.PublicClientApplicationBuilder Microsoft.Id entity.Client.Broker.BrokerExtension.WithBroker(Microsoft.Identity.Client.PublicClientApplicationBuilder, Microsof t.Identity.Client.BrokerOptions)'.

uninstall-module exchangeonlinemanagement Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.7.1 $Global:M365DSCSkipDependenciesValidation = $true

The above allows the work to continue.

Microsoft 365 DSC Version

PROD / Latest

Which workloads are affected

Security & Compliance Center

The DSC configuration


Verbose logs showing the problem


Environment Information + PowerShell Version


FlattusBlastus avatar Jun 02 '25 21:06 FlattusBlastus