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

🪲 Remove-EntraBetaUserExtension - A parameter cannot be found that matches parameter name 'ExtensionNames'

Open CMMOliveira opened this issue 7 months ago • 0 comments

When running the command we can see the "parameter" _however doesn't accepted.

Remove-MgBetaUserExtension : A parameter cannot be found that matches parameter name 'ExtensionName'. At C:\Program Files\WindowsPowerShell\Modules\Microsoft.Entra.Beta.Users\1.0.6\Microsoft.Entra.Beta.Users.psm1:2486 char:48

  •     $response = Remove-MgBetaUserExtension @params -Headers $cust ...
    
  •                                            ~~~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [Remove-MgBetaUserExtension], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Remove-MgBetaUserExtension

Module used is 1.0.6

I am trying to remove the the extension attribute previously created.

I am able to retrieve the value with Get-EntraBetaUser -UserID UPN | Select -ExpandProperty extension_APPIID_xxxxxxxx

CMMOliveira avatar May 06 '25 10:05 CMMOliveira