0 votes

We need to capture the Office365 (if any) on the user account before we disable. These are accounts taht are temps or contractors that we disabled and re enable for a duration of the project.

Example of group name is Office-E3-EXO and we want to capture it to CustomAttributeText31

by (14.9k points)
0

Hello,

Sorry for the confusion, but we are not sure what exactly you are trying to achieve. Do you need to preserve names of specific groups into Adaxes custom attributes each time a user gets removed from them? Are the groups located in on-premises Active Directory? Could you, please, provide a detailed description of the desired workflow with live examples? Any additional details would be very helpful.

0

Sorry, i like to be long winded. Our goal is to take the Office 365 group we use and add that to a custom attribute before we disable the account and remove the group to free up a license.

0

Hello,

Do we understand correctly that you are using group based licensing and to revoke the corresponding license you just need to remove a user from the corresponding on-premises AD group that is synchronized with Microsoft 365 (former office 365)? Will it always be the same group and you just need to remove a user from the group, save the group name to a custom attribute and disable the user in a single operation (e.g. by executing a Custom Command)?

0

Yes we currently use only two groups to determine license level for O365. ( E3-EXO and E1-EXO) It can be either group so we would need to "read" which group is assigned and write the group name to the attribute. Then process the removal of the group and continue the disabling of the account.

0

Hello,

Thank you for specifying. This can be done using a single Custom Command with corresponding actions and conditions. For us to provide you with an example of the command configuration, please, specify what value should be set for the custom attribute in case if a user is a member of both groups.

0

If the user is a member of E3-EXO the customattributetext31 should be E3-EXO, the user is a member of E1-EXO the customattributetext31 should be E1-EXO.

0

Hello,

What if a user is member of both E1-EXO and E3-EXO? Should CustomAttributeText31 be set to E1-EXO, E3-EXO?

0

yes it should put both in there so we can remove the extra license

1 Answer

0 votes
by (184k points)
selected by
Best answer

Hello,

Thank you for the confirmation. It can be done using a Custom Command like the following: image.png

0

Thank you it worked perfectly, i dont know why i always complicate the logic. After reading this i said out loud man that is so easy. :)

As always thank you for you assistance.

Related questions

0 votes
1 answer

I'm trying to retrive the Microsoft 365 License product name in a report as the 'Office 365 License' attribute in Adaxes shows each individual licensed product e.g. ... 365 F3"} } $productnames = $productnames -join ", " $Context.Value = $productnames

asked Jul 27 by richarddewis (1.5k points)
0 votes
1 answer

Since DIRSYNC doesn't appear to sync UPN correctly and it needs to be changed VIA powershell online. Is there a way to create a custom ... current on-prem UPN? Set-MsolUserPrincipalName -UserPrincipalName oldemail@old.com -NewUserPrincipalName newemail@new.com

asked Aug 11, 2015 by auser42 (1.8k points)
0 votes
1 answer

When attempting to add an O365 license to an AD account via the Adaxes admin console, I noticed that it is missing some license types (e.g. Azure AD Premium P1). In ... Is there a way to configure Adaxes to pull all available license types from O365? Thanks!

asked Oct 22, 2019 by EricB (480 points)
0 votes
1 answer

I am wondering what the expected behavior is, and what troubleshooting can be done, for this issue: We have a few tenants listed under Cloud Services > Office 365 We ... know, but they don't have access to force the license update themselves. Thanks, Jason

asked Jan 9, 2019 by Jasonmh (2.8k points)
0 votes
1 answer

How does Adaxes handle the situation when creating an account in Office 365, but there are no available licenses to assign? Can it add a license to an subscription? If ... the way through, leaving an account that is only partially set up. Thanks very much.

asked Sep 7, 2017 by Jasonmh (2.8k points)
2,288 questions
2,042 answers
5,580 comments
54,839 users