Skip to content

Connect-MgGraph -Identity fails under an Azure system-managed identity in Azure Automation Account #3167

Closed
@Ratanavery

Description

@Ratanavery

Describe the bug

Versions and Runtimes:
Microsoft.Graph.Authentication: 2.26.0, 7.2

ERROR: Could not load file or assembly 'System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxx'. The system cannot find the file specified.

Expected behavior

Welcome to Microsoft Graph!
Connected via managedidentity access using 97xxxxxx-xxxxx...

How to reproduce

Connect-MgGraph -Identity -Debug

SDK Version

2.26.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output

Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions