Forum Discussion

Deleted's avatar
Deleted
Oct 04, 2018

Microsoft.IdentityModel.Clients.ActiveDirectory could not load

Hi

So i'm getting this error in my PowerShell logs and i can't find a way to resolve it.

'Microsoft.IdentityModel.Clients.ActiveDirectory, Version=3.13.9.1126, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Can I get any help? 

Thanks 

7 Replies

  • chad's avatar
    chad
    Copper Contributor
    Use a PS5 task, AzureAD module has always been busted in PS7 - https://github.com/Azure/azure-powershell/issues/11446

    no one seems to be resolving
  • Matthew Roerig's avatar
    Matthew Roerig
    Copper Contributor

    Hi James,

     

    Here is a link to the Microsoft.IdentityModel.Clients.ActiveDirectory library:

    https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory/#dotnet-cli 

     

    You can download the package manually, which if you open with the NuGet Package Explorer will give a list of dependencies for the library.

     

     

    • Deleted's avatar
      Deleted

      Hi, 

      thank you for your response, how can i download it manually ? in my powershell console ? thanks. 

      • Matthew Roerig's avatar
        Matthew Roerig
        Copper Contributor

        James,

         

        I've attempted to install this package through a PowerShell console and the Package Manager that comes with VS2017 but the package source isn't being resolved. I'm not sure why this is happening. However there should be a link on the right hand side of the page to download the package. Here is a direct link that might work: https://www.nuget.org/api/v2/package/Microsoft.IdentityModel.Clients.ActiveDirectory/3.19.8

         

Resources