neos-sdi / adfsmfa

MFA for ADFS 2022/2019/2016/2012r2
MIT License
143 stars 52 forks source link

Error: The referenced component 'Microsoft.IdentityServer.Aad.Sas' could not be found #283

Closed alaamh closed 1 year ago

alaamh commented 1 year ago

I'm getting the below error, Kindly advise what is missing to install it, thanks.

Severity    Code Description Project File Line  Suppression State
Error CS0234    The type or namespace name 'Aad' does not exist in the namespace 'Microsoft.IdentityServer' 
(are you missing an assembly reference?) Neos.IdentityServer.MultiFactor.SAS.Azure
\Neos.IdentityServer3.1\Neos.IdentityServer.MultiFactor.SAS.Azure\Neos.IdentityServer.MultiFactor.SAS.Aad.cs
alaamh commented 1 year ago

Ok, I have downloaded from the internet Microsoft.IdentityServer.Aad.Sas version 10.0.0.0, and the error is gone, I'm not sure later when running the app will it work or crash.

redhook62 commented 1 year ago

All this is normal, these features are only supported by ADFS 2019 and 2022. It looks like you are in ADFS 2012r2. The interface having been changed by Microsoft since ADFS 2019, these APIs are only compatible with these versions. Build a lab with ADFS 2019 or higher

alaamh commented 1 year ago

Thanks for the update, yes you are right. is it possible to use your solution with ADFS 2012r2? is it safe?