0 votes

Hello,

We are using Adaxes to manage our Cloud Only infrastructure, and one of the problems we have run into is when creating a NEW user, we need to fill out some Custom Attribute fields that are used by other applications, however, when we use Adaxes to fill in those fields, they are empty when the user created.

It seems that when Adaxes (Or M365 for that matter) creates a user it takes several minutes for their mailbox to provision. Custom Attributes are a feature of a user mailbox, and when the account is in this pre-mailbox-creation phase, the data entered for the Custom Atributes is lost, so we have to manually go through all of our newly created users and re-add the info to the Custom Attribute fields.

How can we create a script/onboarding automation that will temporarily store and then write the data meant for the Custom Attributes field when the mailbox is ready?

ago by (40 points)
0

Hello,

How exactly do you provision mailboxes? Is it done by assigning Microsoft 365 licenses in Adaxes itself?

0

No, licenses are assigned by membership to a license group. For example we have an assigned group that has selected licenses and services for Office E3, EMS E3. This way if we need to update license types or features, it can be done in one place.

The new user is added to these groups at the time of creation.

1 Answer

0 votes
ago by (296k points)

Hello,

In this case, the behavior is expected. As an option, you can set Adaxes custom attributes (e.g. CustomAttributeText1) to the values you need and then use a scheduled task that will set the values to the Exchange attributes and clear the custom Adaxes ones. For details on how to create scheduled tasks, see https://www.adaxes.com/help/ScheduleTasksForDirectoryManagement. Finally, you should have something like the following: image.png

0

Hmmm seems like a very viable work around. I will give this a try!

Thank you for the advice!

0

Ok, seems that is working, however I have several hundred users with data in the Custom Attributes in Exchange Online I want to copy that data into the adm-CustomAttributes so that when we run a regular task against the directory it all syncs up and doesn't clear or overwrite what is existing.

However Adaxes doesn't appear to see it in the ExtensionAttribute so if I were to create a reverse action where I populate adm-CustomAttributeText1 with what is currently in a users ExtensionAttribute1 online, it appears blank and just clears the adm-CustomAttribute as it doesn't see anything in ExtensionAttribute image.png

image.png

But the Attributes are blank image.png

But if I drill down into User Properties/Exchange/General/Custom Attributes, they're shown image.png

0

Hello,

I want to copy that data into the adm-CustomAttributes so that when we run a regular task against the directory it all syncs up and doesn't clear or overwrite what is existing.

There is no need to do that. If you configure the scheduled task as we suggested, it will never do anything for accounts with empty custom attributes. Moreover, the task clears them in the end.

However Adaxes doesn't appear to see it in the ExtensionAttribute

It is not that Adaxes does not see them. The thing is that Exchange Online works differently from on-premises one. You can request extension attributes only as part of Exchange properties, not just as account attributes.

0

There is no need to do that. If you configure the scheduled task as we suggested, it will never do anything for accounts with empty custom attributes. Moreover, the task clears them in the end.

I think you misunderstand. As it sits right now, I have several users that has data in ExtensionAttribute1 in Exchange Online. If I run the schedule task as described, the blank adm-CustomAttributeText1 will CLEAR ExtensionAttribute1 because adm-CustomAttributeText1 is blank.

Here's an example:

Here is the Scheduled Task image.png

Here is a user with data in ExchangeOnline in their CustomAttribute4 and CustomAttribute5 fields; image.png

but NOTHING in adm-CustomAttributeText4 and adm-CustomAttributeText5 image.png

Now when I run the scheduled task against this user, those fields clear out image.png

These clear out because the Logic is checking ExtensionAttribute4 and ExtensionAttribute5 which according to Adaxes, is empty image.png

You can see the Test User's CustomAttribute4 is now Empty in Exchange image.png

I need Adaxes to either properly populate ExtensionAttribute from Exchange or a way to back-fill all adm-CustomAttributeText with existing values from ExtensionAttribute

0

Hello,

Your statement is correct with the configuration you made, but that is not what we suggested. The conditions in the scheduled task should relate only to Adaxes custom attributes, not the Exchange ones. Also, it is Adaxes custom attributes to be cleared in the end of the scheduled tasks, to avoid second runs on the same accounts.

image.png

Related questions

0 votes
1 answer

I'm currently writing an "After User Creation" rule and I have a PowerShell script that adds the newly created, on-premises synced user to a handful of cloud ... powershell cmdlet that fails. I need to use PowerShell for the additional condtional flexibility.

asked Dec 13, 2024 by smcfarland (60 points)
0 votes
1 answer

I'm wanting to store information in a custom user attribute in Entra ID but I'm wondering if this is possible within a "Update the user" action in Adaxes? ... PowerShell? https://learn.microsoft.com/en-us/entra/external-id/customers/concept-user-attributes

asked Dec 11, 2024 by smcfarland (60 points)
0 votes
1 answer

In order to create an Entra, cloud only account, is the only requirement to connect Adaxes to my Entra domain so that Adaxes can manage it?

asked Sep 6, 2024 by cewilson (190 points)
0 votes
1 answer

I have a business rule to create a user in our AD, and then have it create a new O365 account and assign it a license. How can I have it create a temporary password that I specify during that business rule?

asked Jun 17, 2020 by keecit (60 points)
0 votes
1 answer

Hi all, How can I add a user directly to an Entra ID group? I understand it might be possible via CLI e.g. Add-AzureADGroupMember - But is there a built-in GUI method via Business Rules? Thanks, David

asked Oct 2, 2024 by dshortall (80 points)
3,613 questions
3,300 answers
8,365 comments
548,542 users