Forum Discussion

StephanGee's avatar
StephanGee
Steel Contributor
Jun 17, 2022
Solved

SharePoint Migration - Lockstate "NoAccess" on Sharepoint 2013 - how to redirect

Hi everyone,

 

at the moment we are closing down (finally!) our SharePoint 2013 installation.

I want to take all site collections offline. I will do that with the -lockstate noaccess command.

 

But... there will be users who did not read the mail or just don't care. 

Can i redirect the 403 message somewhere?

 

I was already playing around with the error codes section in IIS.

But nothing works .. neither in the .net error codes nor the normal error codes section.

 

BR 

Stephan

  • There is no OOB way to redirect from SharePoint, you might be able to use IIS ARR or other reverse proxy in front of it to capture those urls from Site collections that have been locked and redirect and let those that haven't been go through SharePoint servers
  • In the past, what I did was point the DNS record of the web applications to another IIS hosting a page with a notice about the change, does that could work in your case?
    • StephanGee's avatar
      StephanGee
      Steel Contributor

      AndresGorzelany 

      For a defined time we want to be able to allow the users to access their files again and then migrate them themselves.

      So i just want the sites to redirect that we locked

      • There is no OOB way to redirect from SharePoint, you might be able to use IIS ARR or other reverse proxy in front of it to capture those urls from Site collections that have been locked and redirect and let those that haven't been go through SharePoint servers

Resources