Closed kbeeveer46 closed 5 months ago
Hi. Our apologies, you are correct, this is a bug. I have just submitted a PR for this. It will go out in today's release.
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked.
Major Version
3.x
Minor Version Number
23
Target environment
SharePoint Framework
Additional environment details
SPFx 1.18.2
Expected or Desired Behavior
The documentation says there is a delete method on directory objects https://pnp.github.io/pnpjs/graph/directoryobjects/#delete-directoryobject
When I use the sample code from the documentation it throws an error
Observed Behavior
Error message. See screen shot below.
Steps to Reproduce