And they almost always occur at the worst possible time.

Theenv_check_erroris a rare login error that prevents Teams users from signing in.

Basically, it indicates Teams failed to connect to the prefs endpoint.

fix microsoft teams env_check_error

In this guide, well explore what troubleshooting methods you’re free to use to fix it.

Or you’re able to navigate toHomeLibraryApplication SupportMicrosoftTeams folder.

initiate the Teams folder and delete theSettings.jsonfile.

microsoft teams settings file

Clean the Hosts File

Additionally, certain entries in your Hosts file could be blocking Microsofts servers.

Resetting the Hosts file to default prefs can helpfix connectivity issues.

Drag the Hosts file back to its original folder and find out if Teams is working properly now.

microsoft teams settings.jason file macOS

Meanwhile, dont forget to backup important data before following the steps below.

Conclusion

To sum up, you might quickly fix the env_check_error by deleting the options.json file.

etc folder windows 10

rename hosts file windows 10

hosts file macOS

open Hosts file macOS

macOS etc folder hosts file

delete teams cache files

microsoft teams delete app cache macOS