Thank you very much for your response. Unfortunately, I believe I may not have been clear enough in my previous message: it is not the public Azure Cloud I am having difficulty logging into, but rather my AzureStackUser Azure Stack cloud. I have tried everything I can think of and am still experiencing this issue. It is a real nuisance, because although I am able to log in to all the portals (portal.azure.com, portal.local.azurestack.external, and adminportal.local.azurestack.external) and have full access to all functionality with no problems, a number of the tutorials I am trying to work through use Azure Stack CLI.
Last night I tested my Azure Stack install with Test-AzureStack. One of the services failed (Azure Stack Fabric Management Controller Service Fabric Applications), but I stopped, rebooted, and then restarted Azure Stack and now all tests pass. But the problem still persists.
I do have access to az in powershell. And I can successfully switch back and forth between having the public Azure Cloud cloud and my AzureStackUser Azure Stack cloud active (I am successfully able to issue az cloud list and az cloud set commands). But whenever I login (either interactively with just az login or passing in the credentials as parameters) I always receive the following error:
You have logged in. Now let us find all the subscriptions to which you have access...
The access token has been obtained for wrong audience or resource 'https://management.mclagetthotmail.onmicrosoft.com/ae0ac4c6-2334-47e2-89e0-96eecd9222d1'. It should exactly match with one of the allowed audiences 'https://management.mclagetthotmail.onmicrosoft.com/508e2d8d-27cd-40da-96ec-17e276e1bff2','https://graph.windows.net/'.
I tried az account set both with my Pay-As-You-Go subscription id from portal.azure.com and the Default Provider Subscription from adminportal.local.azurestack.external, but Azure CLI recognizes neither of them as belonging to AzureStackUser:
The subscription of 'ae0715b8-fb60-4e1b-a077-51a77327ca25' doesn't exist in cloud 'AzureStackUser'. (this is the Default Subscription Provider id)
The subscription of '3ebbb293-72a1-454a-b43f-ce03810f6138' doesn't exist in cloud 'AzureStackUser'. (this is the Pay-As-You-Go id).
The credentials I am using are a user I added in my Azure AD (at portal.azure.com) with Owner privileges.
I have run out of ideas. Is there another specifically Azure CLI forum that I might be able to submit this to? I would really like to get beyond this impediment. Thanks.