Skip to content

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

@Drakeii

Description

@Drakeii

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions