Forum Discussion
OneDrive showing incorrect user
- May 16, 2023
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
Teams: https://learn.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/admin-self-help-diagnostics
I hope they help someone else in the future.
It sounds like there might be some confusion between your guest account (tyrone@OrgA) and the Org B Admin account when accessing the Team B files on your local machine. Here are a few things you could try to resolve this issue:
Check the account you're signed in with: Make sure you're signed in to your local Office apps and OneDrive using your guest account (tyrone@OrgA), and not the Org B Admin account.
Check the account used for syncing: Ensure that the OneDrive sync client on your local machine is syncing the correct files and folders associated with your guest account (tyrone@OrgA) and not the Org B Admin account. You can check this by going to the OneDrive settings on your local machine and selecting the Account tab.
Check the file ownership: Verify that the files you're editing on your local machine are owned by your guest account (tyrone@OrgA) and not the Org B Admin account. You can check the file ownership by navigating to the file in question on the Teams or SharePoint site and checking the "Modified by" and "Created by" fields.
Try accessing the files on a different machine: If the issue persists, try accessing the files on a different machine to see if the problem is specific to your local machine.
Contact Microsoft support: If none of the above steps resolves the issue, you may need to contact Microsoft support for further assistance.
- tynilandMay 11, 2023Copper ContributorNikolinoDE
Thanks so much for your response. I eventually became so frustrated that I logged into Org B's Azure AD admin portal and deleted the Org B Admin user. I also deleted all Microsoft apps from my Mac, and manually removed all the residual files left behind by them.
I then reinstalled everything and the issue appeared to be resolved.
After your response, I did a little more research and found that if you navigate into the OneDrive application package, you'll find two executables -
RemoveOneDriveCreds.command
ResetOneDriveApp.command
I ran these today and they appear to take OneDrive back to 'factory settings', and remove all links to 365 credentials. I think this would have been the solution in the first place.
Thank you so much for taking the time to respond. 😄- NikolinoDEMay 11, 2023Gold ContributorI am glad that you came to a solution.
I wish you continued success!- tynilandMay 16, 2023Copper Contributor
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
Teams: https://learn.microsoft.com/en-us/microsoftteams/troubleshoot/teams-administration/admin-self-help-diagnostics
I hope they help someone else in the future.