• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1538
  • Last Modified:

Copier mail relay office 365

Hi experts  ,

My company 's email migrated to office 365 last month . One of my problem is my copier unable to relay email to office 365 and  Scan document send by email . Another question is
office 365 password policy is 60 days must change . How do I don't change password for my copier? Is there anyway to modify password policy for copier mailbox ?

1 Solution
well, the issue with scan to email through office 365 is the 365 servers require you use secure smtp port 587.  So the scanner would need to support that, and most do not.  as for your second issue yes you can modify the 365 password policy so they wont expire but it needs to be done through powershell.  

you need to use the Microsoft Online Services Module for Windows PowerShell, link below


powershell cmdlets to set the password to not expire below

1. $cred = Get-Credential

2. $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cred -Authentication Basic -AllowRedirection

3. Import-PSSession $session

4. Import-Module MSOnline

5. Connect-MsolService -Credential $Creds

6. Set-MsolUser -UserPrincipalName  username@domainname.COM -PasswordNeverExpires $true
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now