Script to change access request on subsites

asked 2021-04-26T05:25:25.153+00:00
sns 7,221 Reputation points

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.

SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,353 questions
{count} votes

Accepted answer
  1. answered 2021-04-27T09:32:27.133+00:00
    Elsie Lu_MSFT 9,616 Reputation points

    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