msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Continuous access evaluation error

Open rickjansen-dev opened this issue 3 years ago • 1 comments

Hi, I'm trying to execute the following:

Connect-MgGraph -Scopes "Application.Read.All"

Get-MgApplication

But the call to Get-MgApplication always results in the following error:

Get-MgApplication_List1: Continuous access evaluation resulted in claims challenge with result: InteractionRequired and code: LocationConditionEvaluationSatisfied

A bit of googling around only resulted in this issue in the azure-powershell repo which might be similar: https://github.com/Azure/azure-powershell/issues/16766

I'm running into this problem on both powershell in windows and linux (wsl)

I tried Disconnect-MgGraph and connecting with -ForceRefresh, it just always results in the same error

rickjansen-dev avatar Feb 22 '22 12:02 rickjansen-dev

Is there an update on this please? We are seeing the same issue.

aspcyber avatar Apr 18 '22 15:04 aspcyber

Closing as fixed by https://github.com/microsoftgraph/msgraph-sdk-powershell/releases/tag/2.0.0-preview6

peombwa avatar Mar 17 '23 00:03 peombwa