1) I open Azure portal with my user account john.smith@mycompany.com at subs id "111111111111111111111111111". I can successfully create new resource as I'm contributor.
2) I run Az command to create resource and connect with following.
Connect-AzAccount -Subscription "111111111111111111111111111"
ERROR:
Connect-AzAccount : The provided account john.smith@mycompany.com does not have access to
subscription ID "111111111111111111111111111". Please try logging in with different
credentials or a different subscription ID.
What could be wrong?