IdentityCommand
[1.0.1]
Changed
- A request refused with 401 because the session token has expired now reports
Session expired at <time>: authenticate again with New-IDSession or New-IDPlatformToken. Previously, it reportedUnauthorized. Unauthorized.. Companion modules get the same message.
Fixed
- Companion module commands which page their results now page correctly from a starting offset or cursor. Each later request carries one offset or cursor, in place of the starting one, and pages on from the starting offset. Previously, the starting value was sent again with each later request, and paging restarted from zero, so items were skipped or returned twice.
[1.0.0]
1.0.0: from this release, IdentityCommand follows semantic versioning, so breaking changes come only in a major release.
Added
- Support for companion modules (
IdentityCommand.SCA,IdentityCommand.SIAand the others) to connect on first use, finding their service url by platform discovery and using theIdentityCommandsession, with no connection step afterNew-IDSessionorNew-IDPlatformToken. Get-IDSessionreports the tenant’s shared servicesSubdomain, read from the sign-in token.New-IDSessionandNew-IDPlatformTokenaccept the tenant’s shared services subdomain (-subdomain sometenant) in place of-tenant_url, finding the Identity URL by platform discovery.
Changed
New-IDSessionandNew-IDPlatformTokenend any existing session when they start, so a failed sign-in leaves no session. Previously, the earlier user and start time were kept, without a usable web session.- CI caches the PowerShell modules it installs, so dependency installs skip the PowerShell Gallery on a cache hit.
Fixed
- A failed request now reports its own error. Previously, a failed sign-in (for example, to a mistyped or unreachable tenant URL) first
reported
Cannot find a variable with the name 'IDSession', and an error response with no body reported an empty message. - Requests sent with an
Acceptheader now succeed: Secrets Manager, SecureAI and Secrets Hub commands previously failed withA parameter cannot be found that matches parameter name 'Accept'. The header applies to that request only, and is not left on the shared session.