Script to change access request on subsites

sns 9,251 Reputation points
2021-04-26T05:25:25.153+00:00

Need to change the Access request email setting on an unknown subset of 170 sub sites on one site collection, one subsite and everything below it.
Found the below Powershell here https://natechamberlain.com/2020/09/09/change-the-email-address-used-for-access-requests-on-all-sharepoint-sites-and-subsites-in-a-web-app/
will above blog useful

Basic idea, some # of the sub sites in the attached list suddenly have with unexpected email address listed as the contact, but the actual contact should be xxx@keyman .com Note: Need to do it for 170 subsites

Please suggest.

Microsoft 365 and Office | SharePoint Server | For business
{count} votes

Answer accepted by question author
  1. Elsie Lu_MSFT 9,806 Reputation points
    2021-04-27T09:32:27.133+00:00

    Hi @sns ,

    I did a test in my SP 2013 and it worked in my site and subsite:
    91619-7.jpg
    91686-8.jpg


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.