2

I could see RequestAccessEmail property available in CSOM for setting the email.. but how do I set this property to Owners Group. I could not see any property related to this even on Client.Group class.

Does CSOM way behind to expose this property? Are there any alternatives to set this property via code?

enter image description here

1 Answer 1

1

you need to set SetUseAccessRequestDefaultAndUpdate to $true. This is a boolean property of the web object.

This site shows how it can be done in PowerShell / PnP:

SharePoint Online: Configure Access Request Email Settings using PowerShell

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.