13 comments
You may also like
Troubleshooting Windows First Signâin Restore When Conditional Access Gets in the Way
When Windows First Signâin Restore finally went GA on February 24th, many of us were eager to bring this slick userâcentric experience into production. After all, giving users the ability to restore their apps and...
2026-02-25
Location Services is grayed out?
Are you wondering why Location services are grayed out? Or how to have location services configured the way you want them? Tbh, these settings are a mess! There is no good documentation about it. There are two types of...
2026-02-10








Hello,
We followed your guide to the letter on a 2016 and 2019 server but we keep running into the problem that the SCEP application pool keeps crashing for no real reason. We already ruled out a mistake in the templates or wrong CA certs in the intermediate.
We can see the Cert requests arrive but IIS dies everytime we see this in the NDES log:
NDES COnnector:
Sending request to certificate registration point. NDESPlugin 18-4-2019 17:04:05 3036 (0x0BDC)
Event viewer just shows us that w3wp.exe has crashed and that the faulty module is ntdll.dll.
Weâve been banging our heads against this problem for a week now so we hope you have any idea where to look.
Regards,
Herman
Nick, your stuff is amazing as always! .NET 3.5 appears to be required, so may be worth mentioning somewhere since some installations will need to specify an alternate path for that.
Using your script, I was failing on âAttempting to install Windows feature: Web-Asp-Netâ and it wasnât until I manually added 3.5âspecifying the alternate path to the Server installation mediaâthat I could continue.
Appreciate you sharing your findings Matt.
Regards,
Nickolaj
Internalurl in the app proxy config should be https and not http.
Yes, youâre correct.
Regards,
Nickolaj
Does this work for Android for Work or Android Enterprise devices? I canât find the certificate issued to the end mobile devices even â iOS?
Yes it works for all platforms you mention.
Regards,
Nickolaj
Hey Nickolay,
there are two mistakes in your two pictures showing the configuration of the AAP. In the internal URL field you have to write https instead of http, because of the later binding / requiring of SSL. Your other older posts showing this also with https configured.
Best regards and nice work!,
Philipp
Iâve wasted way too much time troubleshooting this before I checked the IIS log files and they showed port 80. After changing AAD Proxy to HTTPS everything works.
Great guide though!
It appears that the script is expecting to find only 1 client authentication certificate with the specified subject. Could you modify it to handle cases where there are multiple certificates with the same subject?
Hello â Is there a mistake with the steps regarding the client and server certificates? At first you emphasized the points of each type which in turn have different Extended Key Usages. Are you stating to use the same template that contains both types?
Hi Carlos,
Could you please reference the pieces that youâre talking about?
Regards,
Nickolaj
Awesome step by step guide, many thanks. As per usual the MS TechNet lacks a lot of steps and inside information. Regarding the two certs, can they also be 3rd party and trusted certs (wildcard) ?