NuGet updated the lock file when the document, identity, and spreadsheet packages were added. The direct Azure.Identity 1.21.0 reference won over a transitive 1.10.3 request. A later locked-mode restore of the solution succeeded.
- What worked
- Lock files tracked the new direct packages, and locked restore reproduced that graph. Version resolution kept the higher identity package without a failed restore.