<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Birendra Acharya's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/abirendra/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/abirendra/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:37:25 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>How to: Create and Edit a Organization Profile Property?</title>
      <link>https://docs.microsoft.com/archive/blogs/abirendra/how-to-create-and-edit-a-organization-profile-property</link>
      <pubDate>Mon, 03 May 2010 17:50:00 GMT</pubDate>
      <dc:creator><![CDATA[Birendra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/abirendra/2010/05/03/how-to-create-and-edit-a-organization-profile-property/</guid>
      <description><![CDATA[Maintaining Organization Profile in SharePoint profile store is a new feature of SharePoint 2010....]]></description>
      <content:encoded><![CDATA[<P><SPAN style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #0000cc; FONT-SIZE: 11pt">Maintaining Organization Profile in SharePoint profile store is a new feature of SharePoint 2010. &nbsp;Original sample of creating/editing user profile property can be found <A href="https://msdn.microsoft.com/en-us/library/ms519896(office.14).aspx" mce_href="https://msdn.microsoft.com/en-us/library/ms519896(office.14).aspx">here</A>. Here is a sample to create/edit a org profile property. </SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: green">// Code example adds a new organization property called Industry Focus<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: blue">using</SPAN> (<SPAN style="COLOR: #2b91af">SPSite</SPAN> site = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">SPSite</SPAN>(<SPAN style="COLOR: gray">"<A href="https://servername/" mce_href="https://servername/"><FONT color=#0000ff>https://servername</FONT></A>"</SPAN>))<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp; {<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">SPServiceContext</SPAN> context = <SPAN style="COLOR: #2b91af">SPServiceContext</SPAN>.GetContext(site);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">UserProfileConfigManager</SPAN> upcm = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">UserProfileConfigManager</SPAN>(context);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: blue">try<o:p></o:p></SPAN></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">ProfilePropertyManager</SPAN> ppm = upcm.ProfilePropertyManager;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: green">// create core property<o:p></o:p></SPAN></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">CorePropertyManager</SPAN> cpm = ppm.GetCoreProperties();<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<SPAN style="COLOR: #2b91af">CoreProperty</SPAN> cp = cpm.Create(<SPAN style="COLOR: blue">false</SPAN>);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cp.Name = <SPAN style="COLOR: gray">"IndustryFocus"</SPAN>;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cp.DisplayName = <SPAN style="COLOR: gray">"Industry Focus"</SPAN>;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cp.Type = <SPAN style="COLOR: gray">"String (Single Value)"</SPAN>;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cp.Length = 100;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cpm.Add(cp);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: green">// create profile type property<o:p></o:p></SPAN></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">ProfileTypePropertyManager</SPAN> ptpm = ppm.GetProfileTypeProperties(<SPAN style="COLOR: #2b91af">ProfileType</SPAN>.Organization);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">ProfileTypeProperty</SPAN> ptp = ptpm.Create(cp);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ptpm.Add(ptp);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: green">// create profile subtype property<o:p></o:p></SPAN></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">ProfileSubtypeManager</SPAN> psm = <SPAN style="COLOR: #2b91af">ProfileSubtypeManager</SPAN>.Get(context);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">ProfileSubtype</SPAN> ps = psm.GetProfileSubtype(<SPAN style="COLOR: #2b91af">ProfileSubtypeManager</SPAN>.GetDefaultProfileName(<SPAN style="COLOR: #2b91af">ProfileType</SPAN>.Organization));<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">ProfileSubtypePropertyManager</SPAN> pspm = ps.Properties;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">ProfileSubtypeProperty</SPAN> psp = pspm.Create(ptp);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; psp.PrivacyPolicy = <SPAN style="COLOR: #2b91af">PrivacyPolicy</SPAN>.OptIn;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; psp.DefaultPrivacy = <SPAN style="COLOR: #2b91af">Privacy</SPAN>.Organization;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><o:p><FONT size=3>&nbsp;</FONT></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pspm.Add(psp);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: blue">catch</SPAN> (<SPAN style="COLOR: #2b91af">DuplicateEntryException</SPAN> e)<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">Console</SPAN>.WriteLine(e.Message);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">Console</SPAN>.Read();<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: blue">catch</SPAN> (System.<SPAN style="COLOR: #2b91af">Exception</SPAN> e2)<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">Console</SPAN>.WriteLine(e2.Message);<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="COLOR: #2b91af">Console</SPAN>.Read();<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; BACKGROUND: #f2f2f2" class=MsoNormal><SPAN style="FONT-FAMILY: Consolas"><FONT size=3>&nbsp;&nbsp;&nbsp; }<o:p></o:p></FONT></SPAN></P>
<P mce_keep="true">&nbsp;</P>]]></content:encoded>
    </item>
    <item>
      <title>How to reset Sharepoint 2010 security token cache duration?</title>
      <link>https://docs.microsoft.com/archive/blogs/abirendra/how-to-reset-sharepoint-2010-security-token-cache-duration</link>
      <pubDate>Fri, 16 Apr 2010 23:38:00 GMT</pubDate>
      <dc:creator><![CDATA[Birendra]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/abirendra/2010/04/16/how-to-reset-sharepoint-2010-security-token-cache-duration/</guid>
      <description><![CDATA[In case of claim based authentication, once an user is authenticated by SharePoint 2010 the security...]]></description>
      <content:encoded><![CDATA[<P style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal><FONT face=Calibri><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri">In case of claim based authentication, once an user is authenticated by SharePoint 2010 the security token cache is cached by default for 10 hours. However you can change the cache duration by using below powershell script.</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #c00000; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P>
<P style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #c00000; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR">&nbsp;</SPAN><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><o:p></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>1. Get the security token cache config.<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal><FONT face=Calibri><I><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri">&nbsp;</SPAN></I><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #c00000; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR"><o:p></o:p></SPAN></FONT></P>
<P style="MARGIN: 0in 0in 0pt; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto" class=MsoNormal><I><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>$stsc=Get-SPSecurityTokenServiceConfig<o:p></o:p></FONT></SPAN></I></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT face=Calibri><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri">&nbsp;</SPAN><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #c00000; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR"><o:p></o:p></SPAN></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>2. Set the new expiration window.<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><I><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>$stsc.LogonTokenCacheExpirationWindow = (New-TimeSpan -second 30)<o:p></o:p></FONT></SPAN></I></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>3. Update the configuration.&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><I><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>$stsc.Update()<o:p></o:p></FONT></SPAN></I></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>&nbsp;<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>4.&nbsp;Reset the IIS.<o:p></o:p></FONT></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New Roman','serif'; COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-bidi-font-family: Calibri"><o:p>&nbsp;</o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><I><SPAN style="COLOR: #0000cc; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-language: OR; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-bidi-font-family: Calibri"><FONT face=Calibri>iisreset<o:p></o:p></FONT></SPAN></I></P>]]></content:encoded>
    </item>
  </channel>
</rss>