Forum Discussion

StefanFried's avatar
StefanFried
Iron Contributor
Jun 14, 2017
Solved

Get-SPOSite / LastContentModifiedDate - Details

Whenever you trigger a get-sposite with details of a SPO Site (Powershell), you get the property "LastContentModifiedDate" back.   I'm wondering what this property is all about because i see for se...
  • Anonymous's avatar
    Anonymous
    Jul 03, 2017

    I opened a Microsoft support ticket last year because I wanted to know what triggered the date modified to change (ticket # 116063014358281).  We have several custom code solutions that upload documents/reports weekly or daily, and those sites weren't always showing as being modified.

     

    Turns out that our code wasn't triggering the modified date to change because we weren't populating the user agent string on our request.

     

    This is actually the way we'd want it so our code doesn't make stale sites look active.

     

    Hope this helps.

Resources