maester icon indicating copy to clipboard operation
maester copied to clipboard

🪲 "Assembly with same name is already loaded" error since MG update

Open Sebastianrhenriksen opened this issue 2 months ago • 1 comments

I have set up Github Actions based on the Maester docs.

Recently, all my custom tests has begun failing with the following error:

... but the module could not be loaded due to the following error: [Assembly with same name is already loaded]....

More or less all my customs tests are giving me the error since Microsoft Graph got updated to version 2.31.0.

My main.yml file has these settings:

include_public_tests: false include_private_tests: true include_exchange: true include_teams: true

....

maester_version: latest

None of my custom tests are calling any modules either.

Any ideas or solutions to fix this is much appreciated - thanks

Sebastianrhenriksen avatar Oct 15 '25 10:10 Sebastianrhenriksen

What version of Maester are you using? Please run Get-InstalledModule -Name Maester.

You shouldn't be seeing this error if you are running a prerelease version. You can update by running Update-Module -Name Maester -AllowPrerelease.

SamErde avatar Oct 23 '25 20:10 SamErde