Forum Discussion
Set SharePoint access requests to owner group
StephenRice - I know you were looking for feedback and pretty involved in the Access Request piece, have any insights on this one?
Is the default group listed in the UI screenshot still a valid group on the site? In cases where no secondary address has been set and the default group is not available, I believe we fall back to the site creator. Thanks for confirming!
Stephen Rice
OneDrive Program Manager II
- Nigel WitherdinJun 20, 2018Iron Contributor
Hi - this isnt the same as being able to set the site to use the Owners group through script. this would be very useful to us as I would now like to set all of our existing sites (which are currently using hardcoded email addresses) to using the Owners group to service access requests.
Im kind of hoping the PnP Powershell Cmdlets might include an option for doing that - what do you think VesaJuvonen could we get that added to the "To Do" list?
Thanks
Nigel
- AnonymousMay 03, 2019
we have suffering with same issue , we have large number of Sites which was created before which site Accesses request is going to Hard code email , we want this site Access request to site owners ,any solution appreciated.
Yagie72
- Long LiangMay 07, 2019Copper ContributorDeleted
This is available, please check https://developer.microsoft.com/en-us/office/blogs/new-sharepoint-csom-version-released-for-sharepoint-online-november-2018/ Thank you
- VesaJuvonenJun 20, 2018
Microsoft
Currently, this information is not exposed with the REST/CSOM APIs, so it cannot be controlled by using remote options (SPO or PnP PowerShell or code). We are looking into exposing this API with the CSOM in future, but there's no ETA for that work.
- EricD35Oct 03, 2019Copper Contributor
We also need to change the "Access Request" method to set to Owner Group as it is possible through interface.
We are writing a CSOM method to create site from template and the "access request" option need to be set in the code using CSOM.
Please, tell me if any update of CSOM library is forecast or give any solution to update this option by code using any other library...
Regards.