본문 바로가기
Q&A

[문의답변] 방명록 문의 답변 입니다. msDS-cloudExtensionAttribute1 편집 문의

by 이완주 2022. 2. 24.

[문의내용]

계정 특성 편집기에 mailNickname, msDS-cloudExtensionAttribute1, msDS-cloudExtensionAttribute2, msDS-cloudExtensionAttribute3 속성란을 입력하려고 하는데요. 어떻게 하면 ISE에 같이 편집해서 입력할 수 있을까요?
굉장히 광범위하게 여쭤보는것 같네요 ㅠ

출처: https://leemcse.tistory.com/guestbook [완주와 같이 공부하실분 모두 환영 합니다.]

 

[문의답변]

우선 두가지 로 나누어야 겠네요.

문의 답변은 정리를 잘 한 사이트를 참고사이트로 설명드리겠습니다. (저보다 능력있는 분들이 많아서.. ㅎㅎ)

 

1. mailNickname 속성

   

- 속성 정의

      mailNickName 속성은 별칭이라고 보시면 됩니다. 

      Email을 받을 수 있는 주소라고 생각하시면 됩니다.

 

      mailNickname 속성은 Exchange 설치 할때 스키마 업데이트를 진행하면서 AD에 추가되는 Attribute 입니다.

      즉 Exchange가 없으면 기본적으로 나타나지 않는다고 생각하시면 됩니다.

      

      Exchange Server의 Active Directory 스키마 변경 내용

      https://docs.microsoft.com/ko-kr/exchange/plan-and-deploy/active-directory/ad-schema-changes?view=exchserver-2019 

 

Exchange Server의 Active Directory 스키마 변경 내용

요약: Exchange Server 2016 또는 Exchange Server 2019에 의해 Active Directory에 추가되는 새로운 스키마 클래스 및 특성과 수정된 스키마 클래스 및 특성에 대해 알아봅니다.

docs.microsoft.com

 

Exchagne는 설치하지 않고 스키마만 업데이트 가능합니다. 아래 내용이 있습니다. (권장하지는 않습니다.)   

버전이 기억이 나지 않는데 Exchange 2007 이었던걸로 기억이 나네요. 그때 까지는 수동으로 스키마를 업데이트 하고 나서 Exchange를 설치했어야 했습니다. Exchange 2010 부터 더이상 수동으로 업데이트 하지 않고 Exchange 설치 과정중에 자동으로 업데이트가 되어 많은 분들이 스키마만 따로 업데이트가 가능한지 모르시는거 같네요. 

 --- 제 기억에 의존하다보니 자동업데이트 버전이 틀릴 수 있습니다. (에고 기억력의 한계라. 10년전 작업이라..)

 

      Can I extend Active Directory schema to include Exchange Attrobutes?

      https://support.exclaimer.com/hc/en-gb/articles/360019648997-Can-I-extend-Active-Directory-schema-to-include-Exchange-Attributes-

 

- 사용 방법

아래 자료에 사용 방법이 자세히 나와 있네요.

How to set AD-User attribute MailNickname

https://social.technet.microsoft.com/Forums/lync/en-US/6811071e-f329-428e-a70d-8f05bbe61d1d/how-to-set-aduser-attribute-mailnickname?forum=winserverpowershell 

 

How to set AD-User attribute MailNickname?

Thanks, first issue is ok, just an example, I will start with a single user, then expand to more users using a CSV. Second issue was the Point :-) Ididn't know how the correct Expression was.

social.technet.microsoft.com

     

Get-ADUser <username> -Properties MailNickName | Set-ADUser -Replace @{MailNickName = "Doris@contoso.com"}

2. msDS-cloudExtensionAttribute 속성

- 속성 정의

msDS-cloudExtensionAttribute 속성은 Azure AD와 동기화 할때 사용되는 값이라고 생각하시면 됩니다.

값을 수정하시면 Azure AD와 동기화 할 경우 문제가 수도 있습니다.

 

Azure AD Connect sync: Directory extensions

https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-feature-directory-extensions

 

Azure AD Connect sync: Directory extensions

This topic describes the directory extensions feature in Azure AD Connect.

docs.microsoft.com

 

방법: AD에서 AAD로 디렉터리 확장 특성 동기화

https://vand3rlinden.nl/index.php/2020/07/25/how-to-sync-an-directory-extension-attribute-from-ad-to-aad/

 

How to: Sync a directory extension attribute from AD to AAD

Get to know how you can sync every onpremis directory extension attribute to AAD for any purpose!

vand3rlinden.nl

 

- 사용 방법

아래 사이트에 사용 방법 참고

Powershell msExchExtensionCustomAttribute1

 

Powershell msExchExtensionCustomAttribute1

Trying to run the following script against all enabled users in a OU to give them a particular value for: msExchExtensionCustomAttribute1 But I get a error when running the following command:  Powershell Import-Module Activedirectory get-aduser -filter

community.spiceworks.com

 

댓글