accessTokens Permission denied
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
**Command Name**
`az login`
**Errors:**
```
[Errno 13] Permission denied: 'C:\\Users\\FKDK7307\\.azure\\accessTokens.json'
Traceback (most recent call last):
Temp\pip-install-rg707cll\knack\knack\cli.py, ln 206, in invoke
azure\cli\core\commands\__init__.py, ln 603, in execute
azure\cli\core\commands\__init__.py, ln 661, in _run_jobs_serially
azure\cli\core\commands\__init__.py, ln 654, in _run_job
Local\Temp\pip-install-rg707cll\six\six.py, ln 693, in reraise
azure\cli\core\commands\__init__.py, ln 631, in _run_job
azure\cli\core\commands\__init__.py, ln 306, in __call__
azure-cli-core\azure\cli\core\__init__.py, ln 485, in default_command_handler
azure\cli\command_modules\profile\custom.py, ln 147, in login
azure-cli-core\azure\cli\core\_profile.py, ln 219, in find_subscriptions_on_login
azure-cli-core\azure\cli\core\_profile.py, ln 893, in persist_cached_creds
azure-cli-core\azure\cli\core\_profile.py, ln 898, in flush_to_disk
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\FKDK7307\\.azure\\accessTokens.json'
```
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- _Put any pre-requisite steps here..._
- `az login --use-device-code`
## Expected Behavior
## Environment Summary
```
Windows-10-10.0.17763-SP0
Python 3.6.6
Shell: powershell.exe
azure-cli 2.0.73
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.