User receiving error "Cannot read properties of undefined (reading 'length')" on OneDrive when trying to remove user from share access

Anonymous
2023-08-07T14:57:55+00:00

Hello,

I'm working with someone right now trying to figure out why they are receiving this error. They recently have given access to users to submit files to a shared folder, but had requested to be removed and another user added; the client has tried to remove the user but was given this error in the "Manage Access" window. Any ideas? We've tried using Edge instead of Chrome, clearing cache/cookies & trying a different PC to see if it's the client's computer.

Thanks,

Art

Microsoft 365 and Office | OneDrive | For education | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2023-08-08T02:56:35+00:00

    Dear Art,

    Good day!!

    Apologies for the inconvenience caused and please don’t worry, let’s work together on your concern and work towards a resolution path.

    I understand your concern and since you mentioned the problem happens with every browser even after clearing the cache, I have checked the service incidents at the Microsoft end, where there is no incident matching to the user problem.

    In this situation, I would like to suggest you try the following steps at the user end and see whether there is any success:

    Open the OneDrive for Business of the user> Click on Return to Classic OneDrive (click on it till the interface changes from modern to classic)> Click on the three dots beside the problematic file> Share> Get link> Select the link you have created via drop down and click on the Remove.

    If you get the same error or steps didn’t help, please try to move the problematic file to the parent folder in the My Files of your OneDrive and see whether the same problem persists.

    If nothing works, can you please confirm whether the problem happens only with the specific file or all files in the OneDrive for Business?

    Thanks for your patience and understanding. Have a good day!!

    Best Regards,

    Sophia

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-08-08T15:09:15+00:00

    Good morning, Sophia,

    We were receiving this error when trying to remove a user's access from the shared folder on OneDrive.

    The client I'm working with received a request to create a shared folder and grant access/permissions for other users to edit/create files into the shared folder. One of the users with granted access requested to the client to be removed and another user to be added, so when we tried to remove the user we received that error. We tried to use Chrome/Edge, clearing cookies/cache & using another PC to see if it was an issue with the client's PC.

    Maybe there's an issue with the shared folder's settings somehow? From my initial research, all I get is its relation to Javascript code/script from web app developers.

    We're using Microsoft 365 for enterprise and don't believe we are able to find/switch over to Classic view. We're going to try and see if using the OneDrive Desktop application will resolve this issue for us and can update later.

    Thank you for response; it's much appreciated.

    Best,

    Art

    EDIT: I found the link to switch over to Classic View. I will test with the client to see if it resolves the issue we're having and will update. Thanks again

    EDIT 2: We tested Classic View and looked at access to the folder again. It looked like even though we were receiving that error, the user we tried to remove earlier was already removed for access. Maybe it was just throwing an error trying to show the notification, but removing the user seems to have been successful nonetheless. Maybe some javascript issue on the server side when displaying the notification to the client. Regardless, thank you for responding and have a good day!

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-08-09T13:34:39+00:00

    Dear Art,

    Appreciate for writing back and updating us, glad to hear the concern you have raised is resolved but the error encountering should be caused due to a glitch. If you encounter the same error even after clearing the cache, I suggest you raise a support ticket from the Office 365 admin center, where the related team will investigate the problem further by collecting the logs.

    Reference: Get support - Microsoft 365 admin | Microsoft Learn

    Note: To create a support ticket, you need to have admin privileges and if you aren’t the admin of your Office 365 organization, please contact the admin of creating a new ticket.

    Thanks for your patience and understanding. Have a good day!!

    Best Regards,

    Sophia

    0 comments No comments