Maximize your protection, eliminate business risks.
Optimize and modernize with cloud transformation.
Empower your people to work securely from anywhere.
Let us handle IT so you can focus on growing your business.
Get multichannel 24/7/365 expert end-user support.
Protect, detect, and respond—Dataprise keeps your business secure.
Maximize uptime with with industry-leading DRaaS.
Swiftly mitigate cyber threats and restore security.
Improve efficiency, productivity and outcomes with cloud.
Ensure all mobile devices, everywhere, are secure.
Gain a competitive edge with strategic IT solutions.
This battle-tested checklist enables your team to swiftly initiate a ransomware response.
IT for businesses of all sizes, in any industry.
Empower institution growth with custom IT solutions.
Ensure your firm is always in compliance.
Improve patient care and staff morale.
Deal with pressing legal matters, not IT.
Keep up with the evolving digital landscape.
Focus on your mission by outsourcing IT.
Accelerate PE client deals and secure data.
Empower Your Municipality with Secure, Reliable IT Services
Execute initiatives and develop IT strategies.
Get the latest industry insights and trends.
Join us at events in person and online.
Hear from clients and learn more about strategic IT.
See how Dataprise can make IT your greatest asset.
Get informative technical resources from IT experts.
Stay on stop of emerging cybersecurity threats.
Discover the key areas of DR your organization needs to address to ensure downtime is minimized.
Gain a strategic asset by bringing harmony to IT.
Ensure 24/7 support and security with dedicated teams.
Drive business forward by partnering with Dataprise.
Meet our one-of-a-kind leadership team.
Discover the recognition Dataprise has earned.
Help us help businesses with strategic IT.
Grow through acquisition and partnership with Dataprise.
Embracing different perspectives and backgrounds.
Find a Dataprise location near you.
Dataprise is committed to empowering more women to consider a career in technology.
Explore our trusted partnerships with leading tech innovators.
Posts
By: Dataprise
Table of content
If you have a hybrid exchange office 365 environment and you no longer have mailboxes on-premises, you may find that it is a pain to create new users, create their new mailbox, then migrate it to the cloud.
The best way to accomplish this is to create your users, assign them a proxy address and then do your dirsync.
If you have to create a lot of users at once, you may not want to touch each user in ADSI edit to assign their primary SMTP address. If this applies to you, you can use this powershell to assign a primary SMTP Proxy address to your new AD users in bulk before synchronizing them with the Office 365 tenant. It is important you create your users and run this script BEFORE they sync with the tenant, otherwise they will get stamped with the default Microsoft tenant ID SMTP address which is very difficult to remove once it is there
Import-Module ActiveDirectory
$newproxy = “@domain.com”
$userou = ‘ou=users,dc=pei,dc=com’
$users = Get-ADUser -Filter * -SearchBase $userou -Properties SamAccountName, ProxyAddresses
Foreach ($user in $users) {
Set-ADUser -Identity $user.samaccountname -Add @{Proxyaddresses=”SMTP:”+$user.samaccountname+””+$newproxy}
}
Once you have run the script, you can synchronize and your new users will be in the cloud and ready to be licensed and email enabled.
Josef Hanning, PEI
INSIGHTS
Subscribe to our blog to learn about the latest IT trends and technology best practices.