dsccommunity / ActiveDirectoryDsc

This module contains DSC resources for deployment and configuration of Active Directory Domain Services.
MIT License
344 stars 142 forks source link

How do i set the AD Atribute extensionName #691

Open Stefanbnilsson opened 2 years ago

Stefanbnilsson commented 2 years ago

As i understand i can use this Powershell to set the Attribute extensionName to a value of my choice

Set-ADUser -Identity "anyUser" -Add @{extensionName="myString"}

But how do i this with DSC? or is this not suported by this module ActiveDirectoryDSC?

johlju commented 2 years ago

The DSC resource ADUser does not yet support the ExtensionAttribute1-15 that is added to the AD Schema when running Exchange Server. Not sure if these properties should be added to ADUser resource or if there should be a resource in xExchange that supports these properties, Custom attributes in Exchange Server.

johlju commented 2 years ago

Hmm... I might have misunderstood, is it this property you mean? https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-adls/3d2ba9f3-2784-44e8-9a39-b31594bfb285

Stefanbnilsson commented 2 years ago

Yes, its that property i mean

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity from the community in the last 30 days. It will be closed if no further activity occurs within 10 days. If the issue is labelled with any of the work labels (e.g bug, enhancement, documentation, or tests) then the issue will not auto-close.

stale[bot] commented 2 years ago

This issue has been automatically closed because it is has not had activity from the community in the last 40 days.