Hi,
I'd be happy to help you out with your question. Sorry for the inconvenience caused.
While attempting to add the workspace and it asks for your M365 email address twice, then returns an error saying "There was an issue looking up your account. Tap Next to try again," there may be a problem with the account lookup process. It is recommended to check that you have entered your email address correctly and that you are connected to the internet.
The error you're getting is related to MSAL (Microsoft Authentication Library), which is used for authentication purposes. To fix this issue, you can try signing in again and making sure that you do not cancel the sign-in flow.
To clean up everything related to Microsoft Remote Desktop on macOS:
- Uninstall the Remote Desktop client: You can use a third-party uninstaller like CleanMyMacX or AppCleaner to remove all files associated with the Remote Desktop client.
- Clear the cache: If you are experiencing issues with Remote Desktop, you can try clearing the cache by deleting the contents of ~/Library/Caches/com.microsoft.rdc.mac.
- Check RDP protocol status: If you are having trouble connecting to a remote computer, you can check the status of the RDP protocol on that computer by going to Start menu > Run > Registry Editor > File > Connect Network Registry.
- Troubleshoot disconnected errors: If you are experiencing disconnected errors while using Remote Desktop, you can refer to Microsoft's troubleshooting guide for solutions I added below.
By following these steps, you should be able to clean up everything related to Microsoft Remote Desktop on macOS and troubleshoot any issues that may arise.
For more Information please refer to following resources :-
- Get started with the macOS client - https://video2.skills-academy.com/windows-server/remote/remote-desktop-services/clients/remote-desktop-mac
- General Remote Desktop connection troubleshooting - https://video2.skills-academy.com/windows-server/remote/remote-desktop-services/troubleshoot/rdp-error-general-troubleshooting
- Microsoft Remote Desktop -- Cannot log-on from Mac - https://video2.skills-academy.com/answers/questions/63842/microsoft-remote-desktop-cannot-log-on-from-mac-er
- Microsoft Remote Desktop for Mac clear cache - https://video2.skills-academy.com/answers/questions/358249/microsoft-remote-desktop-for-mac-clear-cache
- Troubleshoot Remote desktop disconnected errors - https://video2.skills-academy.com/troubleshoot/windows-server/remote/troubleshoot-remote-desktop-disconnected-errors
If you have any other questions or need assistance with anything, please don't hesitate to let me know. I'm here to help.
If the reply was helpful, please don’t forget to upvote or accept as answer, thank you.