In Powershell for sharepoint server, we use dispose() for disposing SPSite objects, do we do the same in sharepoint online management shell? or it's not needed?

  • 1
    No you don't have to dispose Commented Dec 18, 2015 at 13:31
  • 2
    No disposal needed. I guess the infrastructure team for SPO wouldn't sleep to well at nights otherwise. :) Commented Dec 18, 2015 at 13:32

1 Answer 1


No you don't have to dispose, this is handled on the SharePoint servers for you


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.