Azure / Microsoft365R

R SDK for interacting with Microsoft 365 APIs
Other
313 stars 44 forks source link

Add recursive folder delete for Sharepoint/OD for Business #21

Closed hongooi73 closed 3 years ago

hongooi73 commented 3 years ago

Since SPO folders can't be deleted until they're empty if preservation policy is enabled

hongooi73 commented 3 years ago

Note that if implemented, this should NOT be the default behaviour (we don't want to subvert the policy). Ie, regular delete should error out; require explicit call to do a recursive item-by-item delete.