Aaron Fernandez
Aaron Fernandez

Reputation: 21

Issue when using the following namespace Microsoft.IdentityModel.Clients.ActiveDirectory

I am getting the following error when trying to load the following namespace

Microsoft.IdentityModel.Clients.ActiveDirectory

Error - The type or namespace IdentityModel does not exist in the namespace Microsoft.

Running on .NET Framework 4.6.

Package for Microsoft.IdentityModel.Clients.ActiveDirectory v3.19.2

Upvotes: 2

Views: 823

Answers (1)

RKM
RKM

Reputation: 1389

Try to install the Microsoft.Identity.Client package version 4.47.2 in Visual studio 2019 using the nuget package manager under tools shown below and Microsoft.IdentityModel.Clients.ActiveDirectory is deprecated:

enter image description here

Install the package and check in the console output whether it is installed successfully or not as shown below:

enter image description here

Now, we can use that package in the code.

Upvotes: 1

Related Questions