Skip to content

Get-ADUser throws "the encryption operation failed" on latest PowerShell 7.4-preview.5 daily build #20168

@kborowinski

Description

@kborowinski

Prerequisites

Steps to reproduce

This fails on PowerShell 7.4.0-preview.5 daily build:

Get-ADUser -Filter {SamAccountName -like "*test*"}

(This works on PowerShell 7.3.6 and PowerShell 5.1, and the AD sever is NOT down, contrary to the error message)

Expected behavior

Should return requested AD user objects

Actual behavior

Throws an exception "the encryption operation failed"

Error details

See visuals

Environment data

Name                           Value
----                           -----
PSVersion                      7.4.0-preview.5
PSEdition                      Core
GitCommitId                    7.4.0-preview.5-19-gab5213e4b6ea4ac3ba0b84378ed1f31f6e14619c
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0, 7.0}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

image

ad_error_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-ExternalThe issue is caused by external component(s).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions