Forum Discussion

Jeff MacPhail's avatar
Jeff MacPhail
Copper Contributor
Mar 28, 2017

Redirect Users away from the "Request Access" page to a specified page they have access to

We have a subsite in SharePoint Online that we use as an extranet for external vendors.  Works great.

 

The problem is that they frequently try to navigate via URL to the top level Site Collection or tenant Site Collection, which they don't have access to, and they are met with a button to request access.  They get confused, they push the button, people's time is wasted.  

 

How can we redirect them so if they navigate via URL to a specific site, they are redirected to the extranet site we have configured for them?

 

Any ideas are helpful, thank you!

    • jcgonzalezmartin's avatar
      jcgonzalezmartin
      MVP
      If I have to bet for one of the 2 solutions (Bart's one and Lousi's ones), I would bet for the JavaScript approach.
      • Louis Simonetti's avatar
        Louis Simonetti
        Iron Contributor

        Yeah, mine is probably way overkill, but it would get the job done. 

  • In theory, you could set a default empty page on the root site collection open to everyone including external users. Via javascript check if it is an external account (using the O365 API) or not and do rerouting. I'm not sure if the performance hit will be acceptable.

Resources