I have a requirement to disable sharing of sites and documents in Office 365 site collection using CSOM.
Manually from UI, I can disable sharing by unchecking Access Request Settings under Site Settings.
But could not find a way to do it using CSOM.
I have a requirement to disable sharing of sites and documents in Office 365 site collection using CSOM.
Manually from UI, I can disable sharing by unchecking Access Request Settings under Site Settings.
But could not find a way to do it using CSOM.