There’s now a new version of the assembly Microsoft.IdentityModel.Clients.ActiveDirectory available – plenty of reasons to update right away! Let me offer you one hot take on the matter.
Why bother updating?
In an earlier post I described an issue I had with Microsoft.IdentityModel.Clients.ActiveDirectory.Platform not getting copied during the build in a referencing project. In 3.17.0, which came out this month, the issue is fixed! The new package actually contains separate DLLs for different platforms.
In essence this means, that from C#/.NET -developer’s standing point, the team has assimilated the Microsoft.IdentityModel.Clients.ActiveDirectory.Platform assembly, among other platform DLLs, into Microsoft.IdentityModel.Clients.ActiveDirectory package itself. Hence, you’ll need no more funky hacks to ensure the DLLs get copied! 🙂
What’s new with Microsoft.IdentityModel.Clients.ActiveDirectory 3.17?
Release notes say, that 3.17 introduces these changes:
- Write more efficient applications, tolerant to Azure AD throttling.
- Force end users of your apps to choose an identity even when s/he is logged-in.
- Process more effective conditional access.
While looking at the DLLs through Object Browser, it seems like they’ve added a new namespace “Native”, which seems like its more or less moved from the Playtform dll. In essence, that namespace likely now contains the functionality that was in Platform dll before.. Therefore, you should not need the Platform dll anymore!
Disclaimer: I’ve got nothing to do with the development team. I’m just happy the team were able to push this update out – so I thought I should maybe give them some appreciation for their work. Good job, folks! 🙂
To find out more, check this: https://azure.microsoft.com/en-us/blog/adal-net-3-17-0-released-2/
Latest posts by Antti K. Koskela (see all)
- 4 ways to fix error AADSTS65001 (The user or administrator has not consented to use the application) - November 20, 2017
- How to use the Azure AD associated with your SharePoint Online - November 3, 2017
- New version of Microsoft.IdentityModel.Clients.ActiveDirectory (ADAL.NET) is out – good time to update! - October 27, 2017