[BUG] PnP 2.* not working with Az-Module #3003
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
@HeKr09 - We did bump quite a lot of our underlying dependencies in the 2.1.1 update, so that might cause issues with other modules we have no control over. MSGraph and Az modules may be updating / upgrading their dependencies later on, but we would suggest running the PnP cmdlets in a different thread: https://pnp.github.io/powershell/articles/azurefunctions.html Moving to a discussion as it's unlikely we can do anything. |
Beta Was this translation helpful? Give feedback.
-
I did some digging on loaded assemblies for the mentioned module
It seems to be the assembly Microsoft.Extensions.Caching.Memory.dll (might be more than this) that is a much older version in the Az modules. |
Beta Was this translation helpful? Give feedback.
-
If I'll do this I receive the following error:
|
Beta Was this translation helpful? Give feedback.
as @veronicageek mentions, this is a known issue that is hard to avoid building with new versions of assemblies, when other modules do similar things (Az and graph).
It is for sure annoying, and will affect adoption of the new module, but not much to do about it i'm afraid.