Custom Script shows success after user creation but doesn't work

Custom Script shows success after user creation but doesn't work

I have tried contacting support by email, phone and chat with no response.  Perhaps one of you can assist me.

We are in a Office 365 hybrid deployment, with AD on-premise and email in Exchange Online.  Up until now we have left everything as it was in ADMP before we migrated email to Office 365.  We simply migrate new accounts from on-prem after creation.  Finally have time to testusing ADMP to create the email in Office 365.  It is working fine.

However, ADMP doesn't allow us to tailor the licensing.  We have not turned on all the Office 365 services for our users,   We have a script to modify a user's license to just the services we support.  We put the script in the Custom Attribute to run after user creation as follows:

powershell.exe  "C:\ManageEngine\ADManager Plus\bin\ChangeFacStaffLicenseADMgr.ps1" -Arg1 %username% %mail%UserPrincipalName%

When a user is created, it shows Custom script result:  Success (see attached screenshot)

However, it doesn't appear the script ran at all, since nothing changes in the licensing.

Any ideas?


                New to ADSelfService Plus?