I am trying to use the Microsoft Office 365 Scope to retrieve a file from a Teams sit. I get the following error when debugging.
Microsoft Office 365 Scope: Could not load type ‘Microsoft.Identity.Client.TokenCacheExtensions’ from assembly ‘Microsoft.Identity.Client, Version=4.35.1.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae’.
I have verified that the package Microsoft.Identity.Client.4.35.1.nupkg is in the packages folder.
Does anyone know what is causing this error. I’ve seen a few posts from the last couple of years mentioning the same problem, but the answers did not apply.