entra-powershell icon indicating copy to clipboard operation
entra-powershell copied to clipboard

UUF Customer feedback: Get-EntraExtensionProperty error

Open csmulligan opened this issue 11 months ago • 1 comments

Describe the bug A customer reported via the UUF triage app that running the Get-EntraExtensionProperty cmdlet returns the below error: "Error for this cmdlt: PS C:\Users\tsiadmin> Get-EntraExtensionProperty Get-MgDirectoryObjectAvailableExtensionProperty: The 'Get-MgDirectoryObjectAvailableExtensionProperty' command was found in the module 'Microsoft.Graph.DirectoryObjects', but the module could not be loaded due to the following error: [Assembly with same name is already loaded] For more information, run 'Import-Module Microsoft.Graph.DirectoryObjects'."

To Reproduce I reproduced the same error in my test tenant:

Error

If I run 'Import-Module Microsoft.Graph.DirectoryObjects' I get the output: Import-Module: Assembly with same name is already loaded

Expected behavior No error when running the cmdlet.

Debug Output Error 2

Module Version 0.19.0 preview Microsoft.Graph.Entra

Environment Data Name Value


PSVersion 7.4.6 PSEdition Core GitCommitId 7.4.6 OS Microsoft Windows 10.0.22631 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0

Screenshots Added

Additional context None

csmulligan avatar Jan 08 '25 15:01 csmulligan

Please see additional information in the older issue #1083 and related issue #1242.

SamErde avatar Jan 08 '25 17:01 SamErde

Closing this since we are tracking #1242

KenitoInc avatar Aug 07 '25 03:08 KenitoInc