<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Expiration on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/expiration/</link>
    <description>Recent content in Expiration on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 11 Dec 2013 17:35:45 +0000</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/expiration/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Change Active Directory User Password Expiration Mode</title>
      <link>https://janikvonrotz.ch/2013/12/11/change-active-directory-user-password-expiration-mode/</link>
      <pubDate>Wed, 11 Dec 2013 17:35:45 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2013/12/11/change-active-directory-user-password-expiration-mode/</guid>
      <description>&lt;p&gt;To change an Active Directory users password expiration mode you can use this PowerShell snippet:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-powershell&#34; data-lang=&#34;powershell&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Import-Module ActiveDirectory&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Get-ADGroupMember &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;Group1&amp;#34;&lt;/span&gt; -Recursive |&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;Get-ADUser -Properties PasswordNeverExpires |&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;where {$_.enabled &lt;span style=&#34;color:#f92672&#34;&gt;-eq&lt;/span&gt; $true &lt;span style=&#34;color:#f92672&#34;&gt;-and&lt;/span&gt; $_.PasswordNeverExpires &lt;span style=&#34;color:#f92672&#34;&gt;-eq&lt;/span&gt; $false} |&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;select -First &lt;span style=&#34;color:#ae81ff&#34;&gt;50&lt;/span&gt; | %{&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    Write-Host $_.UserPrincipalName&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    Set-ADUser $_ -PasswordNeverExpires $true&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Latest version of this snippet: &lt;a href=&#34;https://gist.github.com/7913696&#34;&gt;&lt;a href=&#34;https://gist.github.com/7913696&#34;&gt;https://gist.github.com/7913696&lt;/a&gt;&lt;/a&gt;&lt;/pre&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Handling user password change and expiration issues with Office365 and ADFS – Part 2</title>
      <link>https://janikvonrotz.ch/2013/09/23/handling-user-password-change-and-expiration-issues-withoffice365-and-adfs-part-2/</link>
      <pubDate>Mon, 23 Sep 2013 08:50:49 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2013/09/23/handling-user-password-change-and-expiration-issues-withoffice365-and-adfs-part-2/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://janikvonrotz.ch/2013/08/08/handling-user-password-change-and-expiration-issues-with-office365-and-adfs-part-1/&#34;&gt;https://janikvonrotz.ch/2013/08/08/handling-user-password-change-and-expiration-issues-with-office365-and-adfs-part-1/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is part two of my experience in handling the password change office365 architecture issue.&lt;/p&gt;&#xA;&lt;p&gt;Last time I&amp;rsquo;ve built a simple script  to notificate the users about the status of their passwords. In the mean time we (me and another employ of the &amp;ldquo;&lt;a href=&#34;https://vbl.ch&#34; target=&#34;_blank&#34;&gt;vbl &lt;/a&gt;Informatik&amp;rdquo;) built a simple website for the office365 users to change their password.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Handling user password change and expiration issues with Office365 and ADFS - Part 1</title>
      <link>https://janikvonrotz.ch/2013/08/08/handling-user-password-change-and-expiration-issues-with-office365-and-adfs-part-1/</link>
      <pubDate>Thu, 08 Aug 2013 14:41:37 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2013/08/08/handling-user-password-change-and-expiration-issues-with-office365-and-adfs-part-1/</guid>
      <description>&lt;p&gt;Recently I&amp;rsquo;ve setup a Office365 Service with ADFS (Active Directory Federation Service) and a DirSync Server.&lt;/p&gt;&#xA;&lt;p&gt;Sadly I forgot about a huge disadvantage in this architecture, due to using ADFS as an authentication provider, it&amp;rsquo;s not possible to change a users password. The communication form the local ActiveDirectory environment to the cloud based Office365 services is only one directional.&lt;/p&gt;&#xA;&lt;p&gt;That&amp;rsquo;s why there are only 2 options yet to handle the user password change and expiration:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;    &lt;li&gt;Disable the users password expiration or&lt;/li&gt;&#xA;    &lt;li&gt;Set up a enterprise connected platform to deal with the password change and expiration.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;At this time option 1 is active in my environment and option 2 is my goal.&lt;/p&gt;&#xA;&lt;p&gt;In this post series want to show you the solution I&amp;rsquo;ve developed.&lt;/p&gt;&#xA;&lt;p&gt;Let&amp;rsquo;s start with password expiration. Because Office365 doesn&amp;rsquo;t handle password expiration, that&amp;rsquo;s why I have to use another channel to show the users on which date their passwords expire:  Let&amp;rsquo;s do it with an bulk e-mail job.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
