hawk icon indicating copy to clipboard operation
hawk copied to clipboard

Bug: Module could not be correctly formed. Please run Connect-ExchangeOnline again error

Open tjones-nex opened this issue 5 months ago • 2 comments

What happened?

Unable to complete user investigation, getting error below, successfully reconnected to ExchangeOnline without issue but account review continues to fail

Module could not be correctly formed. Please run Connect-ExchangeOnline again. At C:\Users\tjones\Documents\WindowsPowerShell\Modules\ExchangeOnlineManagement\3.7.1\netFramework\ExchangeOnlineManage ment.psm1:755 char:21

  •                 throw $_.Exception;
    
  •                 ~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
    • FullyQualifiedErrorId : RuntimeException

Steps to Reproduce

successfully reconnected to ExchangeOnline without issue but account review continues to fail

Hawk Version

4.0

Technical Analysis

No response

Implementation Plan

No response

Acceptance Criteria

No response

tjones-nex avatar Jul 14 '25 19:07 tjones-nex

Hi there. The ExchangeOnline PowerShell module requires .NET Framework 4.7.2. Please update your .NET framework. That should fix it.

https://learn.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps

T0pCyber avatar Jul 16 '25 19:07 T0pCyber

Hello, actually this PC already has .NET Framework 4.7.2 installed

tjones-nex avatar Jul 23 '25 17:07 tjones-nex