2026-11-26

AzureADConnect - custom connectors

 I maintain, now, environment with 50+ domains, 7+ forests and there are 5 instances of AADC or Entra Connect synchronization. 

Microsoft loves to push companies in direction that is not what they want but what Microsoft wants. Now they should politly go to the cloud, don't complain and so on. So now selection of container in Microsoft LDAP Generic is not possible - you can select everything or nothing - simple as that. 

How to create new instance - staging instance if I can just export/import because this is also not possible... The only way is to implement dummy configuration - go to database and edit entry in the SQL database. 

Later there should be created new rules, synchronization profiles manually... 

2026-11-12

Install AzureADPasswordProtection - EIDP / EIDPP

 





Import-Module AzureADPasswordProtection


Get-Service AzureADPasswordProtectionProxy | fl


Register-AzureADPasswordProtectionProxy -AccountUpn 'yourglobaladmin@yourtenant.onmicrosoft.com'


Register-AzureADPasswordProtectionProxy -AccountUpn 'yourglobaladmin@yourtenant.onmicrosoft.com' -AuthenticateUsingDeviceCode


$scp = "serviceConnectionPoint"

$keywords = "{ebefb703-6113-413d-9167-9f8dd4d24468}*"

Get-ADObject -SearchScope Subtree -Filter { objectClass -eq $scp -and keywords -like $keywords }


$scp = "serviceConnectionPoint"

$keywords = "{2bac71e6-a293-4d5b-ba3b-50b995237946}*"

Get-ADObject -SearchScope Subtree -Filter { objectClass -eq $scp -and keywords -like $keywords }


2026-11-11

EIDC/AADC - Entra Connect installation

 



0xCAA80000 during Entra Connect installation - after authentication - on a fresh Windows 2022 Server, tests:

Test-NetConnection login.microsoftonline.com -Port 443

Invoke-WebRequest https://login.microsoftonline.com


The second test - result - IE Enhanced Security - after disable and restart of installation I'm further

2026-10-06

CertPropSvc is not starting - 3534 error

 Windows 11 - 3 laptops,  (L1) 1st old - not updating with new Windows 11, (L2) second dell 7310 and the third (L3) - 7320. The same smart card reader - OmniKey  3121 SC (but not important), the same smart card - on L1 and L2 card appears in device manager but not on L3 - smartcard reader is visible on all three. 

Finally - Certficate Propagtion Service is not started on L3. No errors in System eventlog, after startup try - no errors only 3534. Compared registries between three of them, files are present. 

Solution? 

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CertProp] "CertPropEnabled"=dword:00000001

2026-09-08

get-aduser with filter - missing attributes

A forest, 40 domains, one attribute, let's assume 'attribute-N'. Attribute was deprecated (isDefunct=True), now is visible again. near 40k user objects have this value set - boolean type, not system, in global catalog (SearchFlags=1). When I was looking for I got 40k objects. After clear no instances. 

After that I undeleted user object with this attribute and again looking for objects with attribute-N in a domain and in the forest (global catalog) - I received no answers. Get-ADUser for this single objects returns attribute value. Looking for with Get-ADObject - also no return. 

Finally, when I added value to my user object - I can find by searching in the domain and in the forest. Is there a limit of 1 instance per domain or the forest when I can find objects? 

Yes, I must have minimum 2 instances to look for objects. 


2026-08-26

password rotation in ADFS

 ADFS farm, configuration in dedicated SQL database, standard service accounts in Active Directory, how to rotate passwords? Nothing unexpected:

  • change password on account in Active Directory
  • change on every node of the farm - in service configuration (through services.msc)
  • restart
  • low risk of account lockout - my personal preference - do it on Wednesday or Thursday evening - when most of customers do not use it actively

2026-08-24

LSASS Schema Cache

 Interesting - every time, when I'm modifying schema there is a gap when I can't see changes from perspective of tools. For example - I'm adding new attribute and this attribute will be available after a small gap - 5-15 minutes before it will be available. Is it Schema Cache? 

Or maybe Schema Management Thread (ntdsai.dll)?

After hide of one of attributes in Powershell I can still query for this attribute and magically - after 5-15 minutes it just disappears...