To Manage the Access requests to access the sites, I've to configure access request settings in SharePoint 2016 on premises ,by Going to --> Settings -->> Site Settings -->Click the "Site permissions" link under "Users and permissions" section.
Now, from the ribbon, Click on “Access Request Settings” button. I'll be prompted with the access request Settings popup window. then Click on "Allow access request" option to enable access request and enter the E-mail address of the user who will receive access requests from that site.
Up to this everything is clear to me and it is all working fine. Since I've hundreds of sub site and many site collections, Is there any easy way to do this procedure for all the site collection through PowerShell script or any other options in central admin ?
If anyone has a solution for this, please share it , that would be really helpful.
Thanks in Advance.