0 votes

image.png

and script is

image.png

but nothing is happeneing.

my user in adaxe browwser has the attribute to yes

by (20 points)

1 Answer

0 votes
by (288k points)

Hello,

checking if office 365 user exists

There is no need to use the script to check user existence in Microsoft 365. If the user exists, they will just get the license assigned. If not, the account will be created and the license assigned.

logging in scheduled scripts

You will not see any messages from your script in log records as executing scheduled tasks logging is disabled out of the box. This is done specifically because in other case there will be a log record for each task launch for each object no matter if any actions are actually executed.

0

ok well it creates the user with a @onmicrtosoft.com email so i wanted to updated it.

0

Hello,

That is something done by Microsoft 365 automatically. As a solution, you can use the Modify Exchange properties action right after the Activate Microsoft 365 account one. For details, see https://www.adaxes.com/help/AutomateExchangeMailboxConfiguration.

Related questions

0 votes
1 answer

We used to use a script to check if an AD user's MFA was set in Azure (Hybrid AD/AAD set up). I do not think it is relevant any longer. Is there another script that handles this or some other functionality in order to check a user's Azure MFA status?

asked Aug 23 by msheppard (240 points)
0 votes
1 answer

I have a created a powershell script that imports users in to Active Directory, creates a result file, archives the CSV and the result file, and e-mails specified users when with ... but I'm very new to Powershell and I have no idea where to begin. Thanks!

asked Jan 24, 2014 by rlsparks (130 points)
0 votes
1 answer

I want to create a scheduled task to disable a user if he is inactive for 30days, the task must check inacivity o AD and Azure.

asked May 16 by johanpr (120 points)
0 votes
1 answer

We have a couple scheduled tasks that are scoped to run on all user objects across our domain to check for things like upcoming password expiration and account expiration. These ... log. Is there a way to only log events when an operation is executed?

asked Jul 9, 2021 by KelseaIT (320 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)
3,541 questions
3,232 answers
8,225 comments
547,805 users