0 votes

Hello,

I need some advice. I'd like to create a specific After user creation action, but I don't know exactly how. In our environment a new user need to assign a MS365 E3 license. But we don't allways have the right amount of free licenses. (I already create a scheduled report for that. :)) I would like to send an e-mail IF this Activate MS365 account step run to failed (but at only this step) and pause the after user creation process if there is not enough free licenses. Maybe the send to approve will help, but I don't see how should I configure this.

By the way, which is the simplest solution to create an MS365 mailbox in a hybrid environment? I found two (pritty old) answer on the site, but they are four or more years old. image.png

https://www.adaxes.com/questions/313/create-user-mailbox-in-office-365 Will it work in 2020?

Thank you for your answer.

by (460 points)

1 Answer

+1 vote
by (191k points)

Hello,

I would like to send an e-mail IF this Activate MS365 account step run to failed (but at only this step) and pause the after user creation process if there is not enough free licenses. Maybe the send to approve will help, but I don't see how should I configure this.

It can be done by requesting approval for licenses assignment if there are no licenses available in a Business Rule triggering After creating a user. If there are licenses available, the rule will just assign them. If there are no available licenses, there will be an email notification sent and the licenses assignment will be submitted for approval. As a result, user provisioning will be postponed until licenses are purchased and the request for licenses assignment is approved. Finally, the Business Rule will look like the following: image.png If this approach meets your needs, we will provide you with the script that will be used in the Business Rule condition.

By the way, which is the simplest solution to create an MS365 mailbox in a hybrid environment?

There is no need to use scripts for enabling remote mailboxes. Adaxes can be configured to automatically enable them when a Microsoft 365 license with access to Exchange Online is assigned to a user. For details on how to configure the behavior, have a look at the following help article: https://www.adaxes.com/help/?HowDoI.PerformExchangeTasks.ConfigureEnablingDisablingOfRemoteMailboxes.html.

0

Thank you for your excellent support. I will try it. But as I saw, you called the "No Microsoft 365 licenses available" script. Where can I find this script? Would you please share it, I couldn't find it in the script repository.

0
0

Thank you are great! Have a nice day! :)

Related questions

0 votes
1 answer

When we deprovision a user the member of groups are deleted and the power shell scrips only runs as removing all memberships. I can't see what was removed. Is there a scrips I can run prior to removing those memberships that will e-mail what they are?

asked Oct 15, 2019 by meyerm (280 points)
0 votes
0 answers

Hello, I'm using this script as part of a deprovisioning process https://www.adaxes.com/script-repository/disable-all-computers-managed-by-a-user-s29.htm I'm using ... The script executes with no errors, but the computer managed by the user remains enabled.

asked Jun 5, 2020 by bavery (1.3k points)
0 votes
1 answer

We are evaluating the product and would like to let users of AD to change password in self service page. We would like to set a 90 days change password policy, ... self service page? Is it achievable (with customization and batch program)? Thanks in advance.

asked Apr 27, 2020 by eric (250 points)
0 votes
1 answer

During the creation of a new user I want to be able to select the job title from a drop-down list which populates different values based on which Department is selected. Is there a way to achieve this? Thanks. Dario.

asked Oct 2, 2020 by winstonsmith (450 points)
0 votes
0 answers

I noticed that other identity management solutions have a way for new user to claim their account. This would be helpful so we can help all of our new students (who do not ... ) claim their account and reduce the burden on our help desk. Thanks for your help.

asked Aug 29, 2020 by rmedeiros (1.8k points)
2,381 questions
2,137 answers
5,770 comments
187,006 users