Open VeryEarly opened 4 years ago
I'd like to revisit impact of this change. Please set up a conversation with @erich-wang and me.
Postpone the issue as it needs to update loading assembly logic from loading assemblies in advance to demand.
FYI I came across this when having problems with dependency conflicts with Microsoft graph as discussed in https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/1818 and https://github.com/Azure/azure-powershell/issues/20933
In short: Microsoft.IdentityModel.Tokens.dll
is also shipped by Microsoft.Graph.Authentication but the differing versions collide.
Description of the new feature
3 assemblies were introduced in Az.Attestation: https://github.com/Azure/azure-powershell/pull/11247
need to move these assemblies to azure-powershell-common and reference from there: 'Microsoft.IdentityModel.JsonWebTokens.dll', 'Microsoft.IdentityModel.Tokens.dll', 'Microsoft.IdentityModel.Logging.dll'
Proposed implementation details (optional)