I ran into this with:
az extension add --name storage-preview
Fixed with:
$ cat $HOME/.config/pip/pip.conf [install] user = false