Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Microsoft Online Services Password Expiration Email

Answered Microsoft Online Services Password Expiration Email

  • Friday, February 15, 2013 2:21 PM
     
     

    Greetings all,

    I work for a company that uses MOS Exchange 365 for email. The majority of my users don't work from HQ, and often are only using their phones to check company emails. Is there a Powershell script that i can run (as a scheduled task perhaps?) that can check MOS and sends notification emails to users when their email passwords are going to expire? 

    I'm already using this snippet of code as my PS Profile(, I figure its a good place to start):

    Import-Module MSOnline
    $O365Cred = Get-Credential
    $O365Session = New-PSSession –ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell -Credential $O365Cred -Authentication Basic -AllowRedirection
    Import-PSSession $O365Session
    Connect-MsolService –Credential $O365Cred


    -Brent Blades

All Replies

  • Friday, February 15, 2013 6:28 PM
     
     

    Password expiration notifications are already automatic in O365.  See this blog:

    http://blogs.technet.com/b/exchange/archive/2012/09/11/office-365-password-expiration-notifications-in-outlook.aspx


    ¯\_(ツ)_/¯

  • Friday, February 15, 2013 7:18 PM
     
     
    Yes i understand. But the majority of my users dont use Outlook. which is why having Ex365 send an email would be beneficial.

    -Brent Blades

  • Friday, February 15, 2013 7:26 PM
     
     
    Yes i understand. But the majority of my users dont use Outlook. which is why having Ex365 send an email would be beneficial.

    -Brent Blades

    O365 also send it to web users and mobile users.  It just goes on the inbox.

    Go to management page to set limits for notification.

    These things need to be posted in the Office 365 forum.  The users there will step you through how to manage 365 and will point you at the documentation.

    No - it appears that Microsoft has not yet delivered a command to set this from PowerShell which was part of the article I posted


    ¯\_(ツ)_/¯


  • Friday, February 15, 2013 8:49 PM
     
     

    Yes i understand. But the majority of my users dont use Outlook. which is why having Ex365 send an email would be beneficial.


    -Brent Blades

    O365 also send it to web users and mobile users.  It just goes on the inbox.

    Go to manage ment page to set lin=mits for notification.

    These things need to be posted in the Office 365 forum.  Th eusers there will step you through how to manage 365 and will point you at the documentation.

    No - it appears that Microsoft has not yet delivered a command to set this from PowerShell which was part of the article I posted


    ¯\_(ツ)_/¯

    ""Go to management page to set limits for notification."   -- OK i think this could work, but im confused as to where to go? This is in OWA or in the Exchange 365 management portal? 


    -Brent Blades

  • Friday, February 15, 2013 8:55 PM
     
     Answered

    Post questions about how to use Exchange 365 in the Exchange 365 forum.  The people there will be more up to date on what is available.

    Fro managing Exchange you need to use the management portal not the individual account mail pages.


    ¯\_(ツ)_/¯

  • Friday, February 15, 2013 9:08 PM
     
     Answered

    Here is another bit that will help with notifications.

    http://community.office365.com/en-us/forums/158/t/84176.aspx

    Using PowerShell CmdLets you can also retrieve the user accounts and check the password.  There are scripts in the repository for doing this with AD which can be easily changed to use Exchange 365 and the Office 365 PowerShell CmdLets.

    Again - posting in the Office 365 forum wil get you even more help.


    ¯\_(ツ)_/¯


  • Friday, February 15, 2013 9:16 PM
     
     Answered

    Here is a good place to anchor yourself for online services:

    http://social.technet.microsoft.com/Forums/en-US/category/microsoftonlineservices

    You can post here for specific script coding issues that are not specifically product related.


    ¯\_(ツ)_/¯