AD Windows - easy mass deployment of OTP tokens with privacyIDEA using the registration code

Hello, I was being guided by this video that explains how to implement PrivacyIdea massively, however, in the video they do it by Local Users, I would like to know how I could do it with an external Active Directory that I have with Windows.

I tried to do it as explained in the video, putting instead of LocalHost, put my user directory, and I tried to create the registration code, but when testing the user does not enter the privacy. Do the policies vary?

Thank you!

Translated with DeepL Translate: The world's most accurate translator (free version)

See 5.1. UserIdResolvers — privacyIDEA 3.6.2 documentation