Skip to content

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

@blindzero

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?

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions