abotta Frequent Contributor.
Frequent Contributor.
105 views

AD Driver - Exchange Provisioning - Specify mail Alias

 

Hi!

According to AD Driver documentation, during Exchange account provisioning, the driver uses the following cmdlets & parameters:

Enable-Mailbox*: -Identity, -Alias, -Database –DomainController

By default, the email account provided by Exchange uses the Exchange Email Address Policies to define its value (localPart@domain).

Is it possible from a policy in AD Driver to specify/overwrite the “Alias” parameter (localPart)?

Thanks in advance,  

Labels (1)
0 Likes
2 Replies
Highlighted
Knowledge Partner
Knowledge Partner

Re: AD Driver - Exchange Provisioning - Specify mail Alias

Pretty sure that alias is taken from sAMAccountName (normally mapped from IDM CN)

Did play with this many years back, recall you could do some trickery with calling other parameters by abusing the value as supplied to the Database field, but seeing as it is so (deliberately) limited, we generally use the scripting driver for all these PowerShell managed things that sit on top of AD (Exchange, Skype for Business, etc)

Alex McHugh - Knowledge Partner - Stavanger, Norway
Who are the Knowledge Partners
If you appreciate my comments, please click the Like button.
If I have resolved your issue, please click the Accept as Solution button.
0 Likes
Knowledge Partner
Knowledge Partner

Re: AD Driver - Exchange Provisioning - Specify mail Alias

Alex is right!

Alias use Samaccountname (by default) mapped to CN.

In theory, it can be "overwritten" by injecting to this policy PSEXEC "pseudo-attributes".

I never see proper documentation of using these pseudo attributes, but you can try to play around...

https://www.netiq.com/documentation/identity-manager-47-drivers/ad/data/implementing-powershell-cmdlets-in-active-directory-driver.html

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.