Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate new key with PS #12

Closed
anorstrom opened this issue Feb 16, 2018 · 2 comments
Closed

Generate new key with PS #12

anorstrom opened this issue Feb 16, 2018 · 2 comments
Labels

Comments

@anorstrom
Copy link

Hi,
We are testing and are using the latest 2.0.2.966.
We tried to the reset/generate new keys for users.

It works well when we do it from the MMC GUI, User Management - User - Key Tab - New Key. But it does not seem to work from PowerShell, or we do something wrong. We tried this:
set-MFAUsers -Identity user@domain.com -ResetKey

Should that be the same as running New Key from the GUI? We get no error, but nothing happens to the key, and the current key is still valid. We've tried it with both RNG and RSA.

A question on this topic too. If we run RSA, is there any other way for us to generate (with code) the encrypted string and put it directly into the attribute in Active Directory (without using the MFA PS cmdlets)?

Kind Regards,
Andreas

@redhook62
Copy link
Member

Hi,

Yes, the flag for reseting the UserKey is not passed when using PowerShell. It works with the MMC.
We're going to provide quickly a patch

Regards

@redhook62
Copy link
Member

Hi,

New version 2.0.2.967

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants