question

sns1 avatar image
0 Votes"
sns1 asked ElsieLu-MSFT commented

Script to change access request on subsites

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@domain.com Note: Need to do it for 170 subsites

Please suggest.

office-sharepoint-server-administration
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @sns1 ,

I need time to do some configuration and testing. Any updates will be posted here.Thanks for your understanding and support.

Thanks,
Elsie Lu

0 Votes 0 ·

1 Answer

ElsieLu-MSFT avatar image
0 Votes"
ElsieLu-MSFT answered ElsieLu-MSFT commented

Hi @sns1 ,

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.


7.jpg (50.0 KiB)
8.jpg (21.6 KiB)
· 10
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI Elsie lu,
is it same script mentioned in my first thread?
How do we do it for 170 sub sites?

0 Votes 0 ·

In my end it automatically retrieved the subsites:
91722-9.jpg


0 Votes 0 ·
9.jpg (92.3 KiB)

Hi Elsie Lu,

In our case we need to execute first script or second script in the blog?
Please give me sequence of steps to achieve requirement, Thank you.

0 Votes 0 ·
Show more comments