Link to home
Start Free TrialLog in
Avatar of Christian KAZADi
Christian KAZADiFlag for Canada

asked on

Azure AD Password Protection Register-AzureADPasswordProtectionForest

Hi here,

I'm facing this issue when I tried to registrer forest for Azure AD Password Protect.

Can someone help please

PS C:\Users\administrator.> Register-AzureADPasswordProtectionForest -AccountUpn ''

Register-AzureADPasswordProtectionForest : EncryptBufferNcrypt() failed with hr=2147500037

At line:1 char:1

+ Register-AzureADPasswordProtectionForest -AccountUpn 'myAccountUpn@My ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Register-AzureADPasswordProtectionForest], Exception

    + FullyQualifiedErrorId : UnhandledCmdletException,Microsoft.AzureADPasswordProtection.Powershell.Commands.RegisterForest

Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

have you installed the  Azure AD Password Protection software (Proxy and DC Agent) on every DC, are you running the command from the DC? 


Avatar of Christian KAZADi


Hi David,

I have installed Proxy on both AD Proxy serveru
I have installed Agent on All R/W Domain controller

Thank you,

Avatar of Christian KAZADi
Christian KAZADi
Flag of Canada image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial