Skip to content

New-IdleAuthSession not working - term IdLE.Core\New-IdleAuthSessionBroker is not recognized #125

Closed

Description

@blindzero

Description

When calling New-IdleAuthSession a subsequent error on missing term IdLE.Core\New-IdleAuthSessionBroker @params is coming up

Steps to Reproduce

Create $broker with

$ADcred = Get-Credential -Message 'AD Admin Account'

$broker = New-IdleAuthSession -SessionMap @{
  @{ Role = 'AD' } = $ADcred
} -DefaultCredential $ADcred

Error:

IdLE.Core\New-IdleAuthSessionBroker: C:\Users\adm-mafl-server\Downloads\idle\IdentityLifecycleEngine\src\IdLE\Public\New-IdleAuthSession.ps1:55:12
Line |
  55 |      return IdLE.Core\New-IdleAuthSessionBroker @params
     |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The term 'IdLE.Core\New-IdleAuthSessionBroker' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name,
     | or if a path was included, verify that the path is correct and try again.

Just removing IdLE.Core\ in line 55 doesn't work, then the error persists with just the shorter term not found.

Expected Behavior

No error message. This might create an issue in particular with packaged module loads?

Activity

  1. self-assigned this
    on Jan 30, 2026
  2. added
    bug
    on Jan 30, 2026
  3. changed the title [-]New-IdleAuthSession not working -> term IdLE.Core\New-IdleAuthSessionBroker is not recognized[/-] [+]New-IdleAuthSession not working - term IdLE.Core\New-IdleAuthSessionBroker is not recognized[/+] on Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugprio:hightype:core

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions