OneDrive showing incorrect user
Hi all,
When I edit a shared document through OneDrive (or Teams or Sharepoint) through the web, it correctly shows those edits as being attributable to me. However, if I open that document on my local machine, the edits are being attributed to another user.
I am collaborating as an invited guest (invited through Azure AD) using B2B collaboration (I think).
I am by no means an experienced or advanced 365 / Azure / Sharepoint administrator.
A more detailed background (I hope is not too confusing):
- My local machine is a Mac.
- I have a 365 Business Std subscription for my own organisation (Org A) and I'm the global admin (Org A Admin).
- I work with a different business (Org B). As I'm the most knowledgable person at Org B when it comes to MS365, I help them manage their own 365 subscriptions (a combination of 365 Bus Std and Exchange Online P1). I have access to the global admin account for Org B (Org B Admin).
- I have recently begun to introduce Org B to Teams so that we can collaborate on certain projects using Teams and Sharepoint.
- To do this, as Org B Admin, I created a Team under Org B (call it Team B).
- I then invited Org A Admin to Team B as this is my day-to-day work account. I sent this invite from within Team B while logged in as Org B Admin.
- For a while, I collaborated this way successfully as Org A Admin.
- I then decided to 'upgrade the collaboration' by setting up B2B collaboration between Org A and Org B. I made the necessary changes to the incoming/outgoing collaboration settings for both organisations.
- I deleted my existing external user at Org B and reinvited myself as a guest through Azure AD at Org B (tyrone@OrgA)
- I collaborated this way for a while using Teams. I edited documents through Teams - sometimes through the Teams interface but also by synchronising files to my local machine using OneDrive. Any edits I made were always shown as originating from my Org A account, i.e. tyrone@OrgA.
- I was able to move between Org A and Org B in Teams without any problems.
- When I opened Teams on my local machine, I could move between Org A and Org B in the top right of the app. Two instances of OneDrive opened when I logged in to my machine - one synchronised Org A files and the other synchronised Org B files.
- From yesterday, when I edit a document in Team B on my local machine, the edits I make show as being done by Org B Admin and not tyrone@OrgA. However, when I make edits through the Teams interface, these edits are correctly shown as being made by tyrone@OrgA.
It appears as though my guest account at Team B (tyrone@OrgA) is being confused with Org B Admin.
I've tried everything I can think of to fix this:
- I logged out of all my local Office applications (including OneDrive and Teams)
- I deleted and reinstalled all the Office applications (including OneDrive and Teams)
- I deleted all local caches, plist files, etc.
- I deleted my guest account at Org B and ensured that my user account was also deleted from Team B.
- I logged back into to local Office apps, Teams and OneDrive using my Org A credentials and all is working fine.
- I invited myself back to Org B using the Azure AD interface as a guest.
- I added myself back to Team B (using the Teams admin interface under Org B).
- I then navigated to Team B through my local machine (where I'm logged in to the Office apps as Org A Admin), edited the file locally, and again my edits were attributed to Team B Admin. Same thing happened if navigating to the Team through the Teams online interface.
Any help to fix this would be appreciated.
Thank you. 🙏
So my fix didn't work after all. However, I found self-diagnostic tools for SharePoint, OneDrive and Teams that seem to have fixed the problem.
SharePoint & OneDrive: https://learn.microsoft.com/en-us/sharepoint/troubleshoot/diagnostics/sharepoint-and-onedrive-diagnostics
I hope they help someone else in the future.