Teams passing incorrect email address to open files on desktop in Office apps only on Mac

I am a consultant using Teams app and browser versions for multiple clients on iMac, MacBook Air, and SurfacePro. Everything works fine on SurfacePro.

Both Macs, app and browser ... for one client when I try to open a document from Teams the logo for the correct client appears in the Sign in box but the email account in that box is for another client that I formerly used Teams with. I can edit to the correct client then get the "Can't open file" error after entering the password.

Same issue in Chrome, Edge and Firefox. Have logged out and logged back in to all Microsoft apps and browsers. Deleted all keychain, Finder, and browser caches. Deleted and reinstalled Office apps and rebooted multiple times.

I do not have same issue when performing same operation on wife's iMac which makes me think it could be tied to my Apple account as problems are only on Macs I am logged into.

And if I log into my iMac as a Guest User Teams and O365 work just find. Further makes me think some issue tied to my Apple account.

Have not seen this particular issue posted anywhere, and am so far unsuccessful finding a person to talk to for help.

Anyone familiar with this problem and find a way to resolve it?

iMac Line (2012 and Later)

Posted on Jul 11, 2021 11:27 AM

Reply
Question marked as Top-ranking reply

Posted on Jul 11, 2021 3:32 PM

Log into a new, basic admin user account, Set up users, guests, and groups on Mac and see if the problem persists. This tells us if the problem is limited to your user account or is system wide.


It the problem is not in the new user account go back to your user account and boot into Safe Mode according to Start up your Mac in safe mode - Apple Support and test to see if the problem persists. Reboot normally and test again.


NOTE: Safe Mode boot can take up to nearly twice as long as a normal boot as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


If the problem is not present this will tell us if there's some 3rd party software that's interfering with the correct performance.


Post back and we can go from there.


Similar questions

5 replies
Question marked as Top-ranking reply

Jul 11, 2021 3:32 PM in response to KPirko

Log into a new, basic admin user account, Set up users, guests, and groups on Mac and see if the problem persists. This tells us if the problem is limited to your user account or is system wide.


It the problem is not in the new user account go back to your user account and boot into Safe Mode according to Start up your Mac in safe mode - Apple Support and test to see if the problem persists. Reboot normally and test again.


NOTE: Safe Mode boot can take up to nearly twice as long as a normal boot as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


If the problem is not present this will tell us if there's some 3rd party software that's interfering with the correct performance.


Post back and we can go from there.


Jul 12, 2021 8:27 AM in response to KPirko

Apparently you have some 3rd party software in your user account that is part of the problem.


Download and run Etrecheck. Etrecheck is a diagnostic tool that was developed by one of the most respected users here in the ASC and recommended by Apple Support  to provide a snapshot of the system and help identify the more obvious culprits that can adversely affect a Mac's performance.


IMPORTANT:

Before running Etrecheck assign Full Disk Access to Etrecheck in the Etrecheck's Privacy preference pane so that it can get additional information from the Console and log files for the report:


Also click and read the About info to further permit full disk access.



Copy the report



and use the Additional Text button to include the report in your reply.



Then we can examine the report and see if we can determine what might be causing the problem.


Jul 13, 2021 9:11 AM in response to KPirko

First, there is no reason to ever install or run any 3rd party "cleaning", "optimizing", "speed-up", anti-virus, VPN or security apps on your Mac.  This user tip describes what you need to know and do in order to protect your Mac: Effective defenses against malware and other threats - Apple Community.  


There are no known viruses, i.e. self propagating, for Macs.  There are, however, adware and malware which require the user to install although unwittingly most of the time thru sneaky links, etc.   


Anti Virus developers try to group all types as viruses into their ad campaigns of fear.  They do a poor job of the detecting and isolating the adware and malware.  Since there are no viruses these apps use up a lot of system resources searching for what is non-existent and adversely affect system and app performance.


There is one app, Malwarebytes, which was developed by a long time contributor to these forums and a highly respected member of the computer security community, that is desshoigned solely to seek out adware and known malware and remove it.  The free version is more than adequate for most users.  


Also, unless you're using a true VPN tunnel, such as between you and your employer's or bank's servers, they are useless from a privacy standpoint: Public VPN's are anything but private.  


That being said you've installed what most of the experienced contributors to these forums consider akin to malware: CleanMyMac. You should uninstall it according to the developers instructions. You can check to see if you've removed all of the supporting files by downloading and running the shareware app Find Any File to search for any files with the application's or the developer's name in the file name.  For CMM software you'd do the following search(es): 


1 - Name contains cleanmymac

2 - Name contains macaw


Any files that are found can be dragged from the search results window to the Desktop or Trash bin in the Dock for deletion.


FAF can search areas that Spotlight can't like invisible folders, system folders and packages.  


Also you might try the following to just generally clean up some "loose ends": boot into Safe Mode according to Start up your Mac in safe mode - Apple Support and test to see if the problem persists. Reboot normally and test again.


NOTE: Safe Mode boot can take up to nearly twice as long as a normal boot as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

• Deletes font caches, kernel cache, and other system cache files


If you're still having the problems are the clients protecting their documents in any way when sending them to you? Have them create a test document, and send you two versions, one protected and one unprotected. See if there's any change in the problem between the two.



Jul 11, 2021 6:49 PM in response to Old Toad

Hello. Thank you so much for responding.


When I log in under a new account it works like it should.


When I log in in Safe mode (and regular mode) I have the issue. FWIW I notice that I am able to successfully open Office files in desktop apps from O365 OneDrive but still have the issue of trying to open a file in desktop from Teams where it is passing an incorrect email address for the credential.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Teams passing incorrect email address to open files on desktop in Office apps only on Mac

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.