A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hello Blazehill,
Thank you for reaching out. I understand that you receive the error “Operation is not valid due to the current state of the object” when trying to share files with editing permission.
To better understand the issue, could you please provide the following information?
- Are the files stored in SharePoint Online or OneDrive for Business?
- Does the issue occur when sharing with internal users, external users, or both?
- Are you the owner of the files or site, or were the files originally shared with you by someone else?
- Does the issue affect one specific file, all files in the same document library, or files across multiple sites?
- Can you successfully share the same file with Can view permission instead of Can edit?
- Does a site owner or another user with Full Control receive the same error?
- Please create a new test file in the same document library and check whether it can be shared with editing permission.
- Please provide a screenshot of the complete error message and the sharing settings selected when the error occurs.
This information will help me determine whether the behavior is related to the file permissions, the document library, or the SharePoint sharing configuration.
Best regards,