Forum Discussion
StuartBT
Nov 28, 2022Copper Contributor
Unable to send email using Power Shell
I am trying to send a mail message using Power Shell I am using the following script: $credential = Get-Credential $mailParams = @{ SmtpServer = 'smtp.office365.com' Port = '587' # or '25'...
Kidd_Ip
Nov 29, 2022MVP
Please check security defaults or MFA was enabled for your tenant and mailbox?
- StuartBTNov 29, 2022Copper ContributorIt was the MFA
- curious_techieApr 09, 2023
Microsoft
Is it possible to disable MFA on a non-people account? I am getting the exact same error.- curious_techieApr 09, 2023
Microsoft
How can I disable MFA on a service account when I do not have Admin rights?