Skip to content

Conflict with AZ.Accounts #2952

@NikCharlebois

Description

@NikCharlebois

Describe the bug

The module has a conflict with the Az.Account 3.0.4 module. Once a Graph module is imported, it breaks the connection to Microsoft Azure via Connect-AzAccount.

Expected behavior

Importing Microsoft.Graph modules in a session should not break the Connect-AzAccount flow.

How to reproduce

Import-Module Microsoft.Graph.Application
Connect-azAccount -CertificateThumbprint xxx -ApplicationId xxx
-TenantId xxx

SDK Version

2.23.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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions