Where to find the Microsoft.IdentityModel dll?

+1 vote
While i was working on azure, i tried to install Windows Identity Foundation. once done with installation, i tried to find Microsoft.IdentityModel dll and could not find it anywhere. I tried to look both into 64-bit and 32-bit folders in program files (c:\Program Files(x86)\Windows Identity Foundation), still did not find it. As per the resource i have been referring, it must have been in Add Reference in Visual Studio, but no.
Can some help me fix this?
Apr 12, 2018 in Azure by cloudie_crank
• 1,610 points

edited Apr 12, 2018 by cloudie_crank 2,685 views

4 answers to this question.

+1 vote
Even I had the same issue. I figured a way to deal with this.
You just have to add a reference to csproj file. Open it in the notepad, and add the reference as shown below:
<Reference Include="Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />. It worked or me :)
Hop it helped!
answered Apr 12, 2018 by null_void
• 3,220 points
+1 vote

1. Right click your project

2. opt for Manage NuGet Package

3. look for extensionWindows Identity Foundation

Under prerequisite section you can download it from here

answered Oct 23, 2018 by anonymous
+1 vote

Include Microsoft.IdentityModel.Extensions for WIF runtime support by following the following steps

  1. Download and install the WIF runtime and SDK for .NET Framework 4.0.
    Note that the Microsoft.IdentityModel assembly is located
    under the %Program Files%\Reference Assemblies\
    Microsoft\Windows Identity Foundation\v3.5 folder.
    
  2. Add reference to the Microsoft.IdentityModel, System.IdentityModel, and System. Configuration assemblies
answered Oct 23, 2018 by Progbaaa
+1 vote

I finally found this Nuget package: https://www.nuget.org/packages/Microsoft.SharePointOnline.CSOM, which is by Microsoft and seems to give me all my Sharepoint classes, without requiring 'Microsoft.IdentityModel'.

answered Oct 23, 2018 by Trisha

Related Questions In Azure

0 votes
2 answers

How can I download a .vhd image to my local machine from azure and upload the same to a different azure account?

From the Windows Azure Portal you can ...READ MORE

answered Aug 20, 2018 in Azure by Priyaj
• 57,700 points
8,808 views
0 votes
1 answer

How to determine the number of messages in an Azure Services Bus Queue?

You will get error when you try ...READ MORE

answered Jun 12, 2018 in Azure by null_void
• 3,220 points
1,813 views
0 votes
1 answer

How to get the list of names of Azure blob files in a container?

We can get some additional info like Size, ...READ MORE

answered Jun 27, 2018 in Azure by club_seesharp
• 3,450 points
8,153 views
0 votes
1 answer

Error: The subscription is not registered to use namespace 'Microsoft.DataFactory

In Azure, for each functionality there's a ...READ MORE

answered Aug 24, 2018 in Azure by null_void
• 3,220 points
396 views
0 votes
1 answer

Where is the storage account name and access keys on the portal?

In the image under the connection string ...READ MORE

answered May 21, 2018 in Azure by null_void
• 3,220 points
112 views