Hello,
This is for the school district I am still helping. Here is the scenario, we have an automated system that creates student accounts in AD. We have on prem Exchange for staff and are adding email for students. We want them on O365.
Hybrid is up and running well but we have one issue.
The automated system creates a new student in AD, that syncs to the cloud fine but does not create a mailbox. If we run:
Enable-RemoteMailbox -Identity "Jim" -RemoteRoutingAddress JimA...@elyriaschoolsorg.mail.onmicrosoft.com
The mailbox is created and all is well.
Any thoughts on automating this process?
--
You received this message because you are subscribed to the Google Groups "ntexchange" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ntexchange+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntexchange/MN2PR11MB3821EC6B256CEA66D21EEE3AF63E9%40MN2PR11MB3821.namprd11.prod.outlook.com.
Not sure, we just pinged them to find out about that also.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntexchange/CA%2BSdsNEYAfOPftN%3D%2B41nzr1Gjs00knrCewo0VNHLWa4jioDvTQ%40mail.gmail.com.
That’s certainly the way I’d want to proceed if possible.
To view this discussion on the web visit https://groups.google.com/d/msgid/ntexchange/MN2PR11MB38215FCCA3925CD176B859F0F63E9%40MN2PR11MB3821.namprd11.prod.outlook.com.
i set something up a while ago that runs as a a scheduled task that our service desk runs to create the account/mailbox/o365 license assignment etc...
We have a hybrid environment, exchange 2019 and o365, no local mailboxes
This is the step in the script, after this it needs to sync to o365 etc...
#Create Exchange User
Import-CSV C:\UserAccounts\CreateMailboxes.csv | ForEach { New-RemoteMailbox -Alias $_.alias -Name $_.name -FirstName $_.Firstname -LastName $_.Lastname -DisplayName $_.name -UserPrincipalName $_.UPN -OnPremisesOrganizationalUnit $_.OU -sAMAccountName $_.SAM -Password (ConvertTo-SecureString "Password" -AsPlainText -Force) }
EXTERNAL SENDER:
Do not click any links or open any attachments unless you trust the sender and know the content is safe. EXPÉDITEUR EXTERNE: Ne cliquez sur aucun lien et n’ouvrez aucune pièce jointe à moins qu’ils ne proviennent d’un expéditeur fiable, ou que vous ayez l'assurance que le contenu provient d'une source sûre. |