This information should be referenced in the Get Started with Azure Command-Line Interface page
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
Link to page that is missing a troubleshooting step for a common problem:
https://docs.microsoft.com/en-us/cli/azure/get-started-with-azure-cli#how-to-sign-into-the-azure-cli
> @jiasli , yes, I am on a MSFT device, but still can set my time manually. Even when I had that authentication problem, the time seemed off by less than a second at most, and the timezone was set correctly. On the same machine, I was able to authenticate successfully 4 hours earlier.
> The only thing I could think of: My authentication request came from within WSL, and I seem to recall that there had been issues with WSL and how its clock can be off after sleep.
> This morning, I had the same issue, so I ran `sudo hwclock -s` in WSL, and the problem disappeared.
_Originally posted by @ant0nsc in https://github.com/Azure/azure-cli/issues/20388#issuecomment-1081554557_
Contributor guide
Assessment
This issue has not been assessed yet.