Skip to content

Az.Accounts & Microsoft.Graph.Authentication using different versions of Azure.Core.dll #22449

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

Closed
KurtyGLaw opened this issue Jul 31, 2023 · 3 comments
Labels
customer-reported question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@KurtyGLaw
Copy link

KurtyGLaw commented Jul 31, 2023

Description

I don't know if this should be reported as a bug or not, but I found that the Az.Accounts module and the Microsoft.Graph.Authentication modules are now using different version of Azure.Core.dll. Az.Accounts loads version 1.31.0, where Microsoft.Graph.Authentication has recently(?) moved to version 1.33.0. The result is an issue with (at a minimum) Get-AzStorageTable from Az.Storage where the command fails.

I know this is more of an issue/incompatibility between two different modules, figured that it might be helpful to mention, and hopefully get some suggestions on how I can work around it, as I need these two modules loaded at the same time.

Script or Debug output

No response

Environment data

No response

Module versions

No response

Error output

No response

@KurtyGLaw KurtyGLaw added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jul 31, 2023
@ghost ghost added customer-reported and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jul 31, 2023
@wyunchi-ms
Copy link
Contributor

Hi @KurtyGLaw , could you please show the version of Az.Accounts and Az.Resources you are using? You can get them by input

gmo

in your PowerShell session. The latest version of Az.Accounts should also use 1.33.0.

@KurtyGLaw
Copy link
Author

Sorry, I should have included that. Az.Accounts is 2.12.4 and Az.Resources is 6.8.0

@KurtyGLaw
Copy link
Author

I'm sure I checked PSGallery before posting this to ensure I was on the latest. Maybe they were posted when I checked, but I do see the newer versions now and everything is good. My bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants