Anonymous_User Absent Member.
Absent Member.
259 views

How do you set a custom email address with o365 driver???


Team

I have a site running IDM4.02.
It has a synced AD domain and the o365 Driver installed which uses the
GUID from this domain to provide the required ID (ImutableID) into a
ADFS federated (through the afore mentioned AD domain) o365 instance.

It all works fine (some minor error regrading not being able to
synchronize passwords on Federated account, nothing that stops it
working though).

The problem I have is that hte o365 driver sets the email address to the
"userPrinciple name" and there does not seem to be any mechanism to
change it retrospectively.

The driver diligently synchronizes the "internet-email address" to the
"alternate email address" of the created account BUT THAT DOES NOTHING
USEFUL THAT I CAN SEE.

This is very easily achieved using powershell directly:
For the test user: Steve Bigshot sb66666@dev.org.au once the exchange
account was ready I run the following command


Code:
--------------------
Set-Mailbox -Identity sb666666 -WindowsEmailAddress steve.bigshot@dev.org.au
--------------------


This set the primary smtp address to steve.bigshot@dev.org.au in all
the right places, primarysmtpaddress, proxyaddressess etc….

How do I get the o365 driver to do the same??? and what is the point of
the synchronization of the "internet-email address" to the useless
attribute "alternate email address"????

I wasted a lot of time tracing the synchronization of the "internet
email address" to 'alternate email address" thinking that was supposed
to be the mechanism for setting the preferred email address (That would
be too obvious!!!)

It's odd that the driver can do everything required to provision the
user except all a change of email address.

I've struggled to understand the o365 driver so it's possible I have
just completely missed something obvious (I'm happy to 'look the fool'
and find out this is easily fixed).

Please note: the customer DOES NOT WANT the user principle name changed
as it impacts on the other account synchronizations etc. They just want
to set a "more human friendly email address"...

It seems like such a simple request...

Please help.

Regards
Darren


--
darrenjthompson
------------------------------------------------------------------------
darrenjthompson's Profile: https://forums.netiq.com/member.php?userid=5816
View this thread: https://forums.netiq.com/showthread.php?t=51989

Labels (1)
0 Likes
14 Replies
Anonymous_User Absent Member.
Absent Member.

Re: How do you set a custom email address with o365 driver???

On Mon, 20 Oct 2014 05:37:48 +0000, darrenjthompson wrote:

> I have a site running IDM4.02.
> It has a synced AD domain and the o365 Driver installed which uses the
> GUID from this domain to provide the required ID (ImutableID) into a
> ADFS federated (through the afore mentioned AD domain) o365 instance.


By "synced AD domain" do you mean with dirsync?


> It all works fine (some minor error regrading not being able to
> synchronize passwords on Federated account, nothing that stops it
> working though).
>
> The problem I have is that hte o365 driver sets the email address to the
> "userPrinciple name" and there does not seem to be any mechanism to
> change it retrospectively.


Right. Just curious, but do you work here? I'm on about the same track,
for about the same reasons, and finding about the same things.


> The driver diligently synchronizes the "internet-email address" to the
> "alternate email address" of the created account BUT THAT DOES NOTHING
> USEFUL THAT I CAN SEE.


Yeah, I found that too, and I don't see why it bothers. Nothing seems to
use "alternate email address" for anything.


> This is very easily achieved using powershell directly: For the test
> user: Steve Bigshot sb66666@dev.org.au once the exchange account was
> ready I run the following command
>
>
> Code:
> --------------------
> Set-Mailbox -Identity sb666666 -WindowsEmailAddress
> steve.bigshot@dev.org.au
> --------------------


That's the key. The driver uses the set-msoluser commands. It doesn't use
set-mailbox. So nothing you can do in set-mailbox (or any of the other
myriad commandlets) is going to work. Only what you can do in set-msoluser
(and, I think, not even all of that).


> This set the primary smtp address to steve.bigshot@dev.org.au in all
> the right places, primarysmtpaddress, proxyaddressess etcÂ….


Eh, sort of. I'm fighting with this myself. Depending on what you update,
it updates more attributes in the background, a few minutes later.


> How do I get the o365 driver to do the same??? and what is the point of
> the synchronization of the "internet-email address" to the useless
> attribute "alternate email address"????


You don't, and I'm not sure.


> I wasted a lot of time tracing the synchronization of the "internet
> email address" to 'alternate email address" thinking that was supposed
> to be the mechanism for setting the preferred email address (That would
> be too obvious!!!)
>
> It's odd that the driver can do everything required to provision the
> user except all a change of email address.
>
> I've struggled to understand the o365 driver so it's possible I have
> just completely missed something obvious (I'm happy to 'look the fool'
> and find out this is easily fixed).


I don't think you're missing anything here. The O365 driver makes things
happen via set-msoluser. I'm somewhat surprised to find how much can be
done in the powershell commandlets, some of which could be quite useful
in a customized O365 driver, but none of which is available to the O365
driver.


> Please note: the customer DOES NOT WANT the user principle name changed
> as it impacts on the other account synchronizations etc. They just want
> to set a "more human friendly email address"...
>
> It seems like such a simple request...


Yeah, simple request. Not a simple implementation. We DO want our UPNs
changed, so that part is already done for me, but now I need "friendly"
email addresses, and custom email addresses to work with the Quest
software we're using for migration (GW to O365), because it depends on
finding several additional email address attributes used for its
coexistence pieces.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How do you set a custom email address with o365 driver???


dgersic;250044 Wrote:
>
> By "synced AD domain" do you mean with dirsync?
> ...
> Right. Just curious, but do you work here?


No I mean synchronized using IDM (I had assumed that was a given based
on the forum 🙂 )

No I work for a "Partner Company" and not NetIQ itself.

I'm happy to correspond:
darrent-I_REALLY_HATE_SPAMMERS-@-I_REALLY_HATE_SPAMMERS-akurit.-I_REALLY_HATE_SPAMMERS-com.-I_REALLY_HATE_SPAMMERS-.au

My email address SHOULD be decipherable to a 'human' above, feel free to
email me to compare notes. Please not I'm on the east coast of Australia
(Melbourne) so am at GMT+10 so will probably be "out of sync" with most
of the world so expect an "overnight" type turnaround timeframe.

Darren


--
darrenjthompson
------------------------------------------------------------------------
darrenjthompson's Profile: https://forums.netiq.com/member.php?userid=5816
View this thread: https://forums.netiq.com/showthread.php?t=51989

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How do you set a custom email address with o365 driver???

On Tue, 21 Oct 2014 21:17:17 +0000, darrenjthompson wrote:

> dgersic;250044 Wrote:
>>
>> By "synced AD domain" do you mean with dirsync? ...
>> Right. Just curious, but do you work here?

>
> No I mean synchronized using IDM (I had assumed that was a given based
> on the forum 🙂 )


Ok, just checking. I'm doing a lot of work with a consulting company here
right now, and when they say "synchronized" they mean "...using dirsync".
Making sure we have our terms clear.


> No I work for a "Partner Company" and not NetIQ itself.


Ah, just joking. We seem to be on a parallel track.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.netiq.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How do you set a custom email address with o365 driver???


dgersic;250350 Wrote:
>
> Ah, just joking. We seem to be on a parallel track.

Ahh... Humor via on-line forums or email is tricky, I missed that
completely 😉

I was reading the documentation (Oh the horror!!) and the AD driver has
the capability of executed embedded PowerScript commands via a
"PSExecute" attribute.

This would be a neat/elegant solution to the email setting issue but I
suspect that mechanism is not available within the o365 driver (ironic
since it is actually ALL Powershell scripts that it uses).

I created a thread on that possible solution here
http://tinyurl.com/ogc3vbp


--
darrenjthompson
------------------------------------------------------------------------
darrenjthompson's Profile: https://forums.netiq.com/member.php?userid=5816
View this thread: https://forums.netiq.com/showthread.php?t=51989

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: How do you set a custom email address with o365 driver???


darrenjthompson;250032 Wrote:
>
> It seems like such a simple request...
>


Team...

Good news... It looks like NetIQ agree with me that this is
functionality that should have been included!!!

I recieved this email today (excert)
"Anyway, good news, I had passed this issue to our team and this issue
is being worked upon. We are planning to release a patch for Office 365
in Q1 CY 2015 which will have several enhancements including this one.
Hope this helps."

Wooo Hooo...

Darren


--
darrenjthompson
------------------------------------------------------------------------
darrenjthompson's Profile: https://forums.netiq.com/member.php?userid=5816
View this thread: https://forums.netiq.com/showthread.php?t=51989

0 Likes
pbijnen Absent Member.
Absent Member.

Re: How do you set a custom email address with o365 driver???


Any news on the time frame for the "O365 patch" ?


--
pbijnen
------------------------------------------------------------------------
pbijnen's Profile: https://forums.netiq.com/member.php?userid=3569
View this thread: https://forums.netiq.com/showthread.php?t=51989

0 Likes
Knowledge Partner
Knowledge Partner

Re: How do you set a custom email address with o365 driver???

On Sat, 16 May 2015 13:24:02 +0000, pbijnen wrote:

> Any news on the time frame for the "O365 patch" ?


It's being worked on. I'm waiting for it too.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.microfocus.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
0 Likes
rhelering Absent Member.
Absent Member.

Re: How do you set a custom email address with o365 driver???


dgersic;257200 Wrote:
> On Sat, 16 May 2015 13:24:02 +0000, pbijnen wrote:
>
> > Any news on the time frame for the "O365 patch" ?

>
> It's being worked on. I'm waiting for it too.
>
>


I don't know with whom you have talked to but I couldn't find any
records that this limitation (it seems more a limitation or enhancement
request rather than a bug) has ever been reported to NetIQ IDM
engineering.

I've created an enhancement request today (ER#103770) in order to notify
NetIQ IDM engineering about this limitation on the O365 driver.

There seem to be many people complaining about the O365 driver. Not only
because of this limitation in particular but also because of the amount
of PowerShell commands that are not supported in the O365 driver,
compared to other drivers.

Most customers have to use an Scripting driver to accomplish what the
O365 driver is not capable of doing, but that means paying for an extra
IDM module (double license for something that should come out of the box
in the O365 driver).

If somebody heard anything official (not rumors) please let us know.


--
rhelering
------------------------------------------------------------------------
rhelering's Profile: https://forums.netiq.com/member.php?userid=1829
View this thread: https://forums.netiq.com/showthread.php?t=51989


0 Likes
Knowledge Partner
Knowledge Partner

Re: How do you set a custom email address with o365 driver???

On Tue, 02 Jun 2015 11:48:41 +0000, rhelering wrote:

> dgersic;257200 Wrote:
>> On Sat, 16 May 2015 13:24:02 +0000, pbijnen wrote:
>>
>> > Any news on the time frame for the "O365 patch" ?

>>
>> It's being worked on. I'm waiting for it too.
>>
>>
>>

> I don't know with whom you have talked to but I couldn't find any
> records that this limitation (it seems more a limitation or enhancement
> request rather than a bug) has ever been reported to NetIQ IDM
> engineering.


Some of us have both official and unofficial contacts within the company.
Not everything we know, or talk about, is public, or can be public
information. I don't know who you are, or what your sources are, so I
don't know how much you may be able to find out about future releases.
Traditionally, NetIQ doesn't say much publicly about what's coming, or
when.


> I've created an enhancement request today (ER#103770) in order to notify
> NetIQ IDM engineering about this limitation on the O365 driver.


Thanks. That may help move things along.


> There seem to be many people complaining about the O365 driver. Not only
> because of this limitation in particular but also because of the amount
> of PowerShell commands that are not supported in the O365 driver,
> compared to other drivers.


Agreed, it's currently a limitation I'm dealing with, and not especially
happy about.


> Most customers have to use an Scripting driver to accomplish what the
> O365 driver is not capable of doing, but that means paying for an extra
> IDM module (double license for something that should come out of the box
> in the O365 driver).


I've investigated the scripting driver, but wasn't thrilled with its
performance. Somebody who shall remain nameless unless he wants to bring
it up was helping me work on ways to improve the performance. But,
ultimately, I don't want a scripting driver, I want to do everything I
need to do in the O365 driver.


> If somebody heard anything official (not rumors) please let us know.


There is a new version coming out. When? I don't know. If I knew, I
couldn't say. What will it include? I don't know for sure. What I do
know, I can't say. When it's released, we'll all know.


--
--------------------------------------------------------------------------
David Gersic dgersic_@_niu.edu
Knowledge Partner http://forums.microfocus.com

Please post questions in the forums. No support provided via email.
If you find this post helpful, please click on the star below.
0 Likes
Knowledge Partner
Knowledge Partner

Re: How do you set a custom email address with o365 driver???

>> If somebody heard anything official (not rumors) please let us know.
>
> There is a new version coming out. When? I don't know. If I knew, I
> couldn't say. What will it include? I don't know for sure. What I do
> know, I can't say. When it's released, we'll all know.


Stupid rules. Good news is, he doesn't have to kill you.

0 Likes
cpedersen Outstanding Contributor.
Outstanding Contributor.

Re: How do you set a custom email address with o365 driver???

On 6/2/15 6:54 PM, Geoffrey Carman wrote:
>>> If somebody heard anything official (not rumors) please let us know.

>>
>> There is a new version coming out. When? I don't know. If I knew, I
>> couldn't say. What will it include? I don't know for sure. What I do
>> know, I can't say. When it's released, we'll all know.

>
> Stupid rules. Good news is, he doesn't have to kill you.
>

Hey, I know the man, be nice .... 😉

Casper
0 Likes
Knowledge Partner
Knowledge Partner

Re: How do you set a custom email address with o365 driver???

On 6/2/2015 3:46 PM, Casper Pedersen wrote:
> On 6/2/15 6:54 PM, Geoffrey Carman wrote:
>>>> If somebody heard anything official (not rumors) please let us know.
>>>
>>> There is a new version coming out. When? I don't know. If I knew, I
>>> couldn't say. What will it include? I don't know for sure. What I do
>>> know, I can't say. When it's released, we'll all know.

>>
>> Stupid rules. Good news is, he doesn't have to kill you.
>>

> Hey, I know the man, be nice .... 😉


Excuse me. Let me rephrase lest that triggered anyone.

Foolish rules, I think are sometimes too restrictive for their own
goods. Nonetheless I follow them despite any personal misgivings.

Good news is he still doesn't have to kill you. 🙂


0 Likes
Knowledge Partner
Knowledge Partner

Re: How do you set a custom email address with o365 driver???

David Gersic wrote:

> I've investigated the scripting driver, but wasn't thrilled with its
> performance. Somebody who shall remain nameless unless he wants to bring
> it up was helping me work on ways to improve the performance. But,
> ultimately, I don't want a scripting driver, I want to do everything I
> need to do in the O365 driver.


That was me. I made a generic helper driver for O365/powershell with the scripting driver for a customer (who is very happy with it). they used that to maintain contacts across their multi-tenant O365 environment so that no matter which tenant you were in, you could mail and message users in the other tenants as if they were one and the same.

The multi-tenant part was enforced on them by Microsoft who wouldn't let them mix different license types in one tenant (at least that is what they told me).

They were aware that this kind of thing is really a stop-gap and it is a trade off between performance, ease of use and separation of functionality.

Doing everything in the o365 driver can be fine if your requirements match that.
Sometimes you might find that you can simplify the logic by splitting some of the periphial stuff out into a driver that just handles objects of a specific type or category.
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
cpedersen Outstanding Contributor.
Outstanding Contributor.

Re: How do you set a custom email address with o365 driver???

On 6/2/15 1:48 PM, rhelering wrote:

> I don't know with whom you have talked to but I couldn't find any
> records that this limitation (it seems more a limitation or enhancement
> request rather than a bug) has ever been reported to NetIQ IDM
> engineering.


As David says not everything he is told can be shared. And in this case
until there is an official release non of the features of the upcoming
patch can be shared, denied, or confirmed.

> If somebody heard anything official (not rumors) please let us know.


We can't, if you want more information get in contact with your partner
representative.


Casper
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.