Hello All,
Kindly suggest us to write a rule for redirecting SharePoint URL to office 365 site only for domain page (web Application) not for other site under that or subsite.
Example: www.test.com/sites/pages/default.aspx to https://www.abc.com/sites/pages/default.aspx.
On the first URL of SharePoint should not redirect other site pages under the webapplication or site collection page.
If user want to access: www.test.com/sites/pages/team.aspx it should be redirect to original site not to office 365.
Thanks,


Manas MohapatraRank #182 · 13.2K reputationPosted Apr 20, 2017, 5:20 AM EDT
Yogendra BhardwajRank #2,141 · 666 reputationPosted Apr 21, 2017, 4:31 PM EDT
Prashant KumarRank #316 · 8K reputationPosted Apr 20, 2017, 9:32 AM EDT