Thanks for any feedback at all given on this question, I'm aware that it's quite niche.
I work in the public sector and am part of a M365 team.
I'm only 16 months in this role and was a graduate prior to this so I wouldn't have a mass of background knowledge in IT, but I have been working almost exclusively on SharePoint for my duration in this role, so would be familiar with most of the common errors.
Summary of Problem:
User cannot open an excel document in SharePoint in her Desktop App (is able to in browser).
Opening the file returns this error message:
Important Note:
3-4 weeks ago, we migrated all files and folders for a 'Team' from an older version of SharePoint to SharePoint Online.
The user trying to access files was out for this migration but was added to all relevant permission groups in her absence.
On return, she cannot open her file in the Desktop App from SharePoint Online.
Additional Notes:
The file the user was trying to open at the time was an old version of excel (.xls) although they have since stated they're not able to open newer versions either.
They cannot download the document.
Another user (in the same team) can open the excel document.
The user has permission to open the document (they are able to open it in browser). (In same permission group as user who can open document).
Is operating using the same version of M365 as the user who can open the document (64 bit).
The user is able to open Word documents from the same folder. (Have noted that Word Documents allow for 279 characters - although I haven't been able to recreate the error here either).
Not sure if it's worth noting but excel file sizes are all less than 1MB.
What I've tried:
First thing I've checked was the file path, and it was in excess of the 218 character limit - 284 characters [minus the domain].
(I've highlighted this as being an issue but it hasn't been taken well as the other user is able to access it, and I can't give a reason as to why).
I've tried to recreate the problem by exceeding the limit on one of my own sites but to no avail.
Checked permission groups (no issues).
Checked M365 version (up to date).
Conclusion:
I'd have the issue solved yesterday if both users couldn't access the file (and would have attributed the cause to path and file length), but it's the fact that one of them can that has thrown me.
I didn't realise certain M365 apps had their own limits either.
I know the SharePoint path limit is 400 characters and assumed this applied to all files stored within, so Excel and Word documents being 50-70% of that was a bit of a shock. Seeing that this only applies some of the time though (seemingly anyway) is all the more confusing.
Some clarity on the above would be appreciated also as I've purposely gone over the limit in the past and haven't encountered any issues.
I've tried to add as much detail as I can, but if you need anything else, let me know.
Thanks again for any help in advance.
Chris