A cloud-based identity and access management service for securing user authentication and resource access
Hello @MOP,
Anything new yet? Did anyone resolve this issue?
Thanks and Regards,
Daniel Otto
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
I was doing some work in CloudShell. The other day I am not any longer able to "correctly" log into the AzureAD...or at least this is my feeling. When I type "connect-AzureAD -confirm" it takes an unsusual long period of time and I just get a nakes prompt line.
"Get-AzureADCurrentSessionInfo" gives back that I am not logged in with my Admin-Account:
If I execute any command I get the following message:
Can someone please advise?
Regards!
A cloud-based identity and access management service for securing user authentication and resource access
Hello @MOP,
Anything new yet? Did anyone resolve this issue?
Thanks and Regards,
Daniel Otto
done...looking forward to a reply.
Thank you in advance!
Hi @sikumars-msft ,
thank you for the provided answer. Neither the removal of the AzureAD module nor the deletion of the storage account did anything positive to the issue.
I also manually deleted the associated ressource in Azure Portal and reallocated another resource but this also did nothing to it.
So I'll write this email to the support...will try to keep this threat updated.
Thanks and Regards,
MOP-2762
Hello @MOP ,
Thanks for reaching out and apologies for the delayed response.
Azure Cloud Shell uses the AzureAD.Standard.Preview module for Azure AD interaction, and somehow the module failed to retrieve access_token due to which you were getting above error.
To answer your second question, when you authenticate with Azure AD using 'connect-AzureAD', it uses Managed service 'MSI@50342' to authenticate on behalf of the currently logged in user (user impersonation) to access backend service API (in our case, Graph API), you will only see the managed service account rather than the actual login user when you run 'Get-AzureADCurrentSessionInfo' cmdlet, which is expected
I would recommend that you try the steps below to see if they resolve the problem. If none of these work, I would recommend calling Azure support because this would require a more extensive investigation. If you do not have a support plan, please send an email to AzCommunity[at]Microsoft[dot]com referencing this article and your subscription id, and we will help you get one-time free technical support.
*Note: If you wish to export user settings before deleting, follow the steps outlined in this article.
-----
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.