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

Cannot send mail using Powershell command #132

Closed
xymsayly opened this issue Nov 20, 2020 · 1 comment
Closed

Cannot send mail using Powershell command #132

xymsayly opened this issue Nov 20, 2020 · 1 comment
Assignees
Labels

Comments

@xymsayly
Copy link

xymsayly commented Nov 20, 2020

OS:Windows server 2019
adfsmfa version: 2.4.0
Used Command: Import-MFAUsersADDS -LDAPPath $distinguished_name -Method Code -NewKey -SendEmail -Confirm:$false

I was able to use this command to successfully import AD users and generate new keys, but the mail was not successfully sent, and when I clicked the Send Mail button in the adfsmfa console, it worked fine.
Do you have any good suggestions? Thank you.

The results returned by the powershell command:
Import Users Starting 2020/11/20 3:57:47
Import Users Finished 2020/11/20 3:57:47 Users Imported : 1 Errors 0

@redhook62 redhook62 self-assigned this Nov 20, 2020
@redhook62 redhook62 added the bug label Nov 20, 2020
@redhook62
Copy link
Member

Hi @xymsayly

Yes, it was a bug. It seems that never be implemented before...
You can download the latest build 3.0.2011.3.

As you are in version 2.4 you will have to follow the different migration steps, in particular https://github.com/neos-sdi/adfsmfa/wiki/03-UpgradeFromPrevious.

If you have any concerns, do not hesitate to contact me

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