Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No Azure sign-ins found" when running any command #65

Open
Drakeii opened this issue Aug 19, 2024 · 1 comment
Open

"No Azure sign-ins found" when running any command #65

Drakeii opened this issue Aug 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Drakeii
Copy link

Drakeii commented Aug 19, 2024

Describe the bug

Running any command of this module returns the error:

Invoke-MgGraphRequest: The pipeline has been stopped.                                                                   
Invoke-MgGraphRequest: Could not load type 'Microsoft.Graph.Authentication.AzureIdentityAccessTokenProvider' from assembly 'Microsoft.Graph.Core, Version=1.25.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
PropertyNotFoundException: The property 'value' cannot be found on this object. Verify that the property exists.        
No Azure sign-ins found.

To Reproduce

Trying to follow the instructions on: https://azuread.github.io/MSIdentityTools/commands/Export-MsIdAzureMfaReport/
TLS1.2 enabled, the module has been downloaded, and the Graph connection completed (together with the MS Graph access request approval).

  1. Run the command Export-MsIdAzureMfaReport ~/Downloads/report.xlsx
  2. Get the error above

Expected behavior

  1. Run the command
  2. Get the output of the command

Screenshots

image

Environment (please complete the following information)

The command above cannot be executed.
On Windows using PowerShell Core 7.4.4 -> Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'
On MacOS using PowerShell Core 7.4.2 and Windows using PowerShell Desktop 5.1.22621.3958 it outputs a very long list of errors

The issue described in this report was tested on:
Windows 11 23H2, PowerShell Core 7.4.4, MS Graph 2.22.0
MacOS 14.5, PowerShell Core 7.4.2, MS Graph 2.3.0

Additional context

@Drakeii Drakeii added the bug Something isn't working label Aug 19, 2024
@merill
Copy link
Member

merill commented Aug 21, 2024

This looks like a config in your Windows environment and on macOS you have an older version of Microsoft Graph

Can you try completely uninstalling Microsoft Graph on the mac, restarting the shell, verify Graph is not installed and do a fresh install and try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants